Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001583/0.001583, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001872/0.001872, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3217/0.3217, allocations: 49.61 MB / 336.4 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002248/0.002248, allocations: 67.91 kB / 476.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 62.43 MB / 0.5262 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3581/0.4906, allocations: 46.73 MB / 0.5718 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02373/0.5143, allocations: 15.39 MB / 0.5868 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.5154, allocations: 13.59 kB / 0.5868 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.5167, allocations: 264.1 kB / 0.5871 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008405/0.5251, allocations: 2.356 MB / 0.5894 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.5369, allocations: 3.207 MB / 0.5925 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.5388, allocations: 0.8562 MB / 0.5933 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.5394, allocations: 235.6 kB / 0.5936 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.5402, allocations: 356.5 kB / 0.5939 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.5409, allocations: 374.8 kB / 0.5943 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.541, allocations: 33.28 kB / 0.5943 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01843/0.5594, allocations: 7.134 MB / 0.6013 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.5597, allocations: 102.4 kB / 0.6014 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.5603, allocations: 208.9 kB / 0.6016 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.5743, allocations: 4.598 MB / 0.6061 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5743, allocations: 0 / 0.6061 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.5743, allocations: 0 / 0.6061 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.5744, allocations: 0 / 0.6061 GB, free: 3.371 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003814/0.5782, allocations: 1.327 MB / 0.6074 GB, free: 1.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5782, allocations: 8.031 kB / 0.6074 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.66e-05/0.5783, allocations: 74.72 kB / 0.6074 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5793, allocations: 153.4 kB / 0.6076 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.58, allocations: 312.4 kB / 0.6079 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.58, allocations: 21.03 kB / 0.6079 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5801, allocations: 36.38 kB / 0.6079 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.5811, allocations: 0.5587 MB / 0.6085 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.5811, allocations: 3.938 kB / 0.6085 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.5811, allocations: 20 kB / 0.6085 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5812, allocations: 8 kB / 0.6085 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.5819, allocations: 373.7 kB / 0.6089 GB, free: 348 kB / 446.1 MB 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.002339/0.5842, allocations: 1.735 MB / 0.6106 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.5849, allocations: 317.8 kB / 0.6109 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.5852, allocations: 192.2 kB / 0.611 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06074/0.6459, allocations: 16.9 MB / 0.6275 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008332/0.6467, allocations: 370.1 kB / 0.6279 GB, free: 12.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.147e-06/0.6467, allocations: 0 / 0.6279 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004088/0.6508, allocations: 1.713 MB / 0.6296 GB, free: 10.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6509, allocations: 140.5 kB / 0.6297 GB, free: 10.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.6515, allocations: 405.9 kB / 0.6301 GB, free: 10.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.6515, allocations: 37.64 kB / 0.6301 GB, free: 10.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.6517, allocations: 248.4 kB / 0.6304 GB, free: 9.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6518, allocations: 111.1 kB / 0.6305 GB, free: 9.875 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.6519, allocations: 78.02 kB / 0.6305 GB, free: 9.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6521, allocations: 358.8 kB / 0.6309 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.6524, allocations: 196.1 kB / 0.6311 GB, free: 9.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.6528, allocations: 304.9 kB / 0.6314 GB, free: 8.887 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.6534, allocations: 483 kB / 0.6318 GB, free: 8.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6534, allocations: 0 / 0.6318 GB, free: 8.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001173/0.6545, allocations: 0.6926 MB / 0.6325 GB, free: 7.633 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.6546, allocations: 79.34 kB / 0.6326 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6546, allocations: 4 kB / 0.6326 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.6558, allocations: 158.1 kB / 0.6327 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.6561, allocations: 55.91 kB / 0.6328 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.6572, allocations: 1.151 MB / 0.6339 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.6574, allocations: 11.98 kB / 0.6339 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.6575, allocations: 20 kB / 0.6339 GB, free: 6.094 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003361/0.6578, allocations: 241.2 kB / 0.6342 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6579, allocations: 47.72 kB / 0.6342 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.6602, allocations: 1.689 MB / 0.6359 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.6602, allocations: 23.91 kB / 0.6359 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6602, allocations: 0 / 0.6359 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.6603, allocations: 3.984 kB / 0.6359 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.6611, allocations: 0.6651 MB / 0.6365 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6611, allocations: 0 / 0.6365 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.6613, allocations: 47.73 kB / 0.6366 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.6619, allocations: 268.2 kB / 0.6368 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.6619, allocations: 15.98 kB / 0.6369 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.663, allocations: 1.351 MB / 0.6382 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.663, allocations: 3.938 kB / 0.6382 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6655, allocations: 1.87 MB / 0.64 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.6658, allocations: 107.3 kB / 0.6401 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.6659, allocations: 19.98 kB / 0.6401 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.666, allocations: 12 kB / 0.6401 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.6661, allocations: 19.95 kB / 0.6402 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.6661, allocations: 12 kB / 0.6402 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.6665, allocations: 283.1 kB / 0.6404 GB, free: 15.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6665, allocations: 0 / 0.6404 GB, free: 15.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003489/0.67, allocations: 1.127 MB / 0.6415 GB, free: 14.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008865/0.6788, allocations: 3.502 MB / 0.645 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.6804, allocations: 0.8049 MB / 0.6458 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6804, allocations: 0 / 0.6458 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.6813, allocations: 0.5801 MB / 0.6463 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6825, allocations: 197.1 kB / 0.6465 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.6935, allocations: 5.616 MB / 0.652 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6939, allocations: 318.1 kB / 0.6523 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.6942, allocations: 87.19 kB / 0.6524 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.6946, allocations: 227.3 kB / 0.6526 GB, free: 2.363 MB / 494.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6946, allocations: 0 / 0.6526 GB, free: 2.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.8067, allocations: 48.56 MB / 0.7 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.6, allocations: 23.84 kB / 0.7 GB, free: 1.617 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.929684832226485] Failed to read output from testmodel.py, exit status != 0: 16.75390506722033 16.784513216 16.203619622 Calling exit ...