Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.0006744/0.0006744, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008707/0.001545, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006866/0.0006866, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.00178, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.057/1.057, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09876/1.156, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4028/0.4028, allocations: 50.81 MB / 294.8 MB, free: 4.984 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/Compressor.mo:146:3-158:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/Compressor.mo:160:3-168:15:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/OldCompressorModels.mo:145:4-157:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/OldCompressorModels.mo:159:5-167:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/OldCompressorModels.mo:320:4-332:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/Components/Compressors/OldCompressorModels.mo:334:5-342:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.0349/0.4377, allocations: 15.16 MB / 309.9 MB, free: 5.961 MB / 298.7 MB " [Timeout remaining time 180] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-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: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 311.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.083e-05, allocations: 6.25 kB / 311.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009467/0.009498, allocations: 6.911 MB / 318.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005692/0.01519, allocations: 2.38 MB / 320.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.01649, allocations: 11.94 kB / 320.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.0178, allocations: 349.6 kB / 320.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.02008, allocations: 0.7525 MB / 321.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.02161, allocations: 0.5499 MB / 322.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.0254, allocations: 2.527 MB / 324.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.02669, allocations: 0.6887 MB / 325.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.02939, allocations: 1.301 MB / 326.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.03041, allocations: 0.9429 MB / 327.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.03059, allocations: 212 kB / 327.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.03097, allocations: 208 kB / 328 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.03159, allocations: 0.7326 MB / 328.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007804/0.03237, allocations: 0.6357 MB / 329.3 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.03423, allocations: 1.569 MB / 330.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.155e-05/0.03425, allocations: 0 / 330.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.03426, allocations: 0 / 330.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.748e-05/0.03429, allocations: 11.88 kB / 330.9 MB, free: 0.8867 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.003241/0.03753, allocations: 2.403 MB / 333.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.03757, allocations: 8.031 kB / 333.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.03816, allocations: 413.7 kB / 333.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.03885, allocations: 0.4958 MB / 334.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.03892, allocations: 152.3 kB / 334.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.03931, allocations: 253.1 kB / 334.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.04095, allocations: 1.793 MB / 336.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.04099, allocations: 11.88 kB / 336.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.04109, allocations: 83.98 kB / 336.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.04121, allocations: 155.4 kB / 336.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.04213, allocations: 0.7954 MB / 337.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005345/0.04748, allocations: 7.497 MB / 345 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.04823, allocations: 0.6959 MB / 345.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.04853, allocations: 268 kB / 345.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.04861, allocations: 24.94 kB / 345.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.04864, allocations: 55.55 kB / 346 MB, free: 1.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.986e-06/0.04864, allocations: 0 / 346 MB, free: 1.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.007446/0.05609, allocations: 4.069 MB / 350.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00227/0.05836, allocations: 3.2 MB / 353.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.059, allocations: 0.7484 MB / 354 MB, free: 8.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.05908, allocations: 49.7 kB / 354.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.05948, allocations: 0.9516 MB / 355 MB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.05976, allocations: 0.5112 MB / 355.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.06015, allocations: 428.2 kB / 355.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.06024, allocations: 329.9 kB / 356.3 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.06081, allocations: 360 kB / 356.6 MB, free: 6.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/0.0618, allocations: 1.297 MB / 357.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.0635, allocations: 1.91 MB / 359.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.06351, allocations: 12 kB / 359.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003057/0.06657, allocations: 2.086 MB / 361.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.0666, allocations: 20 kB / 361.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.06662, allocations: 32 kB / 362 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.06921, allocations: 1.083 MB / 363.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.07083, allocations: 0.6589 MB / 363.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.07493, allocations: 4.008 MB / 367.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.07572, allocations: 95.97 kB / 367.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.07584, allocations: 108 kB / 367.9 MB, free: 9.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (idealPumpControlledVdot.mediumLiquid.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,sourceLiquid.medium.state.phase,tank.mediumLiquid.state.phase,tank.mediumLiquidIn.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.07625, allocations: 271.7 kB / 368.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.07645, allocations: 107.9 kB / 368.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.07915, allocations: 1.555 MB / 369.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002298/0.08145, allocations: 1.185 MB / 371 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.08146, allocations: 8 kB / 371 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.08147, allocations: 7.969 kB / 371.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.08723, allocations: 3.338 MB / 374.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.08724, allocations: 4 kB / 374.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.08822, allocations: 358.4 kB / 374.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.08834, allocations: 115.2 kB / 374.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/0.09141, allocations: 1.26 MB / 376.1 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.09149, allocations: 43.98 kB / 376.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.09504, allocations: 3.978 MB / 380.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002229/0.09727, allocations: 3.05 MB / 383.2 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.1005, allocations: 2.587 MB / 385.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.1006, allocations: 35.98 kB / 385.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.1012, allocations: 39.98 kB / 385.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.1014, allocations: 124.6 kB / 386 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.1014, allocations: 35.98 kB / 386 MB, free: 6.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.1017, allocations: 292.5 kB / 386.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1017, allocations: 4 kB / 386.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00191/0.1036, allocations: 0.5508 MB / 386.8 MB, free: 6.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.1038, allocations: 132.2 kB / 387 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.1062, allocations: 1.547 MB / 388.5 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.903e-05/0.1063, allocations: 42.45 kB / 388.6 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.1076, allocations: 0.8686 MB / 389.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1088, allocations: 434.8 kB / 389.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.1245, allocations: 3.367 MB / 393.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1249, allocations: 402.9 kB / 393.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006711/0.1256, allocations: 199.5 kB / 393.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.1261, allocations: 309.1 kB / 394.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1261, allocations: 0 / 394.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Templates: time 0.03015/0.1563, allocations: 27.92 MB / 422 MB, free: 2.938 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile [Timeout 660] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.90913181938231]