Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 217 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9202/0.9202, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 70.31 kB / 0.642 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 89.17 MB / 0.7291 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5869/0.7701, allocations: 172.6 MB / 0.8976 GB, free: 8.391 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.7875, allocations: 13.14 MB / 0.9104 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.7888, allocations: 51.56 kB / 0.9105 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.7903, allocations: 0.4968 MB / 0.9109 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.7951, allocations: 1.945 MB / 0.9128 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.7976, allocations: 0.8884 MB / 0.9137 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.8008, allocations: 2.635 MB / 0.9163 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.802, allocations: 0.7935 MB / 0.9171 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.8067, allocations: 1.887 MB / 0.9189 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8083, allocations: 0.973 MB / 0.9198 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.8085, allocations: 104 kB / 0.9199 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.8105, allocations: 0.9313 MB / 0.9209 GB, free: 500 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.8111, allocations: 0.4987 MB / 0.9213 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.8117, allocations: 0.5329 MB / 0.9219 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.8141, allocations: 1.904 MB / 0.9237 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8141, allocations: 0 / 0.9237 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8141, allocations: 0 / 0.9237 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.8142, allocations: 0 / 0.9237 GB, free: 13.54 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002205/0.8164, allocations: 1.415 MB / 0.9251 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8164, allocations: 8.031 kB / 0.9251 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.779e-05/0.8164, allocations: 26 kB / 0.9251 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.8166, allocations: 147.6 kB / 0.9253 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.8179, allocations: 259 kB / 0.9255 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.8193, allocations: 0.7292 MB / 0.9262 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.8193, allocations: 73.98 kB / 0.9263 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.8195, allocations: 92 kB / 0.9264 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.8213, allocations: 1.302 MB / 0.9277 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.8214, allocations: 3.938 kB / 0.9277 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.8215, allocations: 40 kB / 0.9277 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.8215, allocations: 30 kB / 0.9277 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.8229, allocations: 0.9092 MB / 0.9286 GB, free: 8.348 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005044/0.8279, allocations: 4.138 MB / 0.9327 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.8288, allocations: 0.5143 MB / 0.9332 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.8292, allocations: 298.6 kB / 0.9334 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.8297, allocations: 80.34 kB / 0.9335 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.8298, allocations: 39 kB / 0.9336 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/0.8298, allocations: 0 / 0.9336 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001548/0.8313, allocations: 0.8069 MB / 0.9344 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.8314, allocations: 63.78 kB / 0.9344 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.8323, allocations: 0.7549 MB / 0.9351 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.8323, allocations: 37.7 kB / 0.9352 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.8327, allocations: 0.5156 MB / 0.9357 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.8329, allocations: 194.4 kB / 0.9359 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.8331, allocations: 142.6 kB / 0.936 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8333, allocations: 334 kB / 0.9363 GB, free: 256 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.8336, allocations: 245.9 kB / 0.9366 GB, free: 8 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/0.8345, allocations: 0.8347 MB / 0.9374 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8355, allocations: 0.7995 MB / 0.9382 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.8355, allocations: 4 kB / 0.9382 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001286/0.8368, allocations: 0.8464 MB / 0.939 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8368, allocations: 8.938 kB / 0.939 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8368, allocations: 8 kB / 0.939 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.8369, allocations: 12 kB / 0.939 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.8374, allocations: 163.7 kB / 0.9392 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.8374, allocations: 19.88 kB / 0.9392 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.8381, allocations: 87.39 kB / 0.9393 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.8382, allocations: 35.94 kB / 0.9393 GB, free: 12.88 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.8386, allocations: 329.5 kB / 0.9396 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.8388, allocations: 91.44 kB / 0.9397 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8398, allocations: 0.6219 MB / 0.9403 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.8398, allocations: 4 kB / 0.9403 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8398, allocations: 7.938 kB / 0.9403 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007406/0.8406, allocations: 0.5172 MB / 0.9408 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.8429, allocations: 1.534 MB / 0.9423 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8429, allocations: 224 / 0.9423 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.8434, allocations: 119.8 kB / 0.9424 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.8434, allocations: 4 kB / 0.9425 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.8435, allocations: 12 kB / 0.9425 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.8435, allocations: 5.125 kB / 0.9425 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.8435, allocations: 4 kB / 0.9425 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.8449, allocations: 1.031 MB / 0.9435 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.8452, allocations: 155.3 kB / 0.9436 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8453, allocations: 15.94 kB / 0.9436 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.8457, allocations: 19.98 kB / 0.9437 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.8458, allocations: 39.83 kB / 0.9437 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.8458, allocations: 20.86 kB / 0.9437 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006519/0.8465, allocations: 0.5107 MB / 0.9442 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8465, allocations: 0 / 0.9442 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008377/0.8473, allocations: 303.4 kB / 0.9445 GB, free: 7.422 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.8493, allocations: 1.653 MB / 0.9461 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009529/0.8503, allocations: 0.5877 MB / 0.9467 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8503, allocations: 0 / 0.9467 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.8506, allocations: 265.1 kB / 0.9469 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.8524, allocations: 439.2 kB / 0.9474 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.8618, allocations: 7.246 MB / 0.9544 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.8624, allocations: 0.5238 MB / 0.955 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007372/0.8631, allocations: 275.1 kB / 0.9552 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.8636, allocations: 359.3 kB / 0.9556 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.8636, allocations: 0 / 0.9556 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.918, allocations: 25.24 MB / 0.9802 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.55, allocations: 6.562 kB / 0.9802 GB, free: 3 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.365288972039707] Failed to read output from testmodel.py, exit status != 0: 13.726897725951858 13.752706206 12.933666786 Calling exit ...