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.001402/0.001402, allocations: 75.22 kB / 19.93 MB, free: 1.77 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.001536/0.001536, allocations: 169.4 kB / 23.22 MB, free: 4.887 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.512/1.512, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.523/0.523, allocations: 50.75 MB / 310.7 MB, free: 2.285 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 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 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 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 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 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 master/Components/Compressors/OldCompressorModels.mo:334:5-342:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 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 1.733e-06/1.733e-06, allocations: 0 / 462.5 MB, free: 1.203 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.896e-05, allocations: 6.219 kB / 462.5 MB, free: 1.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009231/0.00926, allocations: 6.565 MB / 469.1 MB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007071/0.01633, allocations: 4.144 MB / 473.2 MB, free: 6.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.01715, allocations: 11.94 kB / 473.2 MB, free: 6.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.01878, allocations: 0.4927 MB / 473.7 MB, free: 5.938 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.02062, allocations: 0.7564 MB / 474.5 MB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.02193, allocations: 0.5538 MB / 475 MB, free: 4.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.0253, allocations: 2.519 MB / 477.6 MB, free: 2.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.02666, allocations: 0.6333 MB / 478.2 MB, free: 1.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.02936, allocations: 1.251 MB / 479.4 MB, free: 192 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2636/0.2929, allocations: 0.9682 MB / 480.4 MB, free: 46.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009808/0.2939, allocations: 205.5 kB / 480.6 MB, free: 46.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.2952, allocations: 213.1 kB / 480.8 MB, free: 46.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.2963, allocations: 0.8375 MB / 481.7 MB, free: 46.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.2985, allocations: 0.7744 MB / 482.4 MB, free: 46.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3019, allocations: 3.169 MB / 485.6 MB, free: 46.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3019, allocations: 0 / 485.6 MB, free: 46.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.3019, allocations: 2.25 kB / 485.6 MB, free: 46.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.868e-05/0.302, allocations: 0 / 485.6 MB, free: 46.59 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: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.004457/0.3064, allocations: 2.103 MB / 487.7 MB, free: 45.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3065, allocations: 9.781 kB / 487.7 MB, free: 45.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.3072, allocations: 245.1 kB / 488 MB, free: 45.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3083, allocations: 0.6851 MB / 488.6 MB, free: 45.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.3084, allocations: 151.9 kB / 488.8 MB, free: 45.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006665/0.3091, allocations: 267.4 kB / 489 MB, free: 45.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.3126, allocations: 2.727 MB / 491.8 MB, free: 43.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.3126, allocations: 13.81 kB / 491.8 MB, free: 43.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.3128, allocations: 83.25 kB / 491.9 MB, free: 43.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.313, allocations: 154.1 kB / 492 MB, free: 43.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.3161, allocations: 2.167 MB / 494.2 MB, free: 43.12 MB / 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.00967/0.3258, allocations: 8.824 MB / 0.4912 GB, free: 36.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3276, allocations: 1.05 MB / 0.4922 GB, free: 36.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/0.3284, allocations: 0.5915 MB / 0.4928 GB, free: 36.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.605e-05/0.3285, allocations: 21.38 kB / 0.4928 GB, free: 36.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3286, allocations: 49.03 kB / 0.4929 GB, free: 36.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.557e-06/0.3286, allocations: 3.188 kB / 0.4929 GB, free: 36.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.01899/0.3476, allocations: 7.368 MB / 0.5001 GB, free: 32.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004069/0.3516, allocations: 3.818 MB / 0.5038 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3527, allocations: 0.9534 MB / 0.5047 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.353, allocations: 44.89 kB / 0.5048 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.3534, allocations: 0.9797 MB / 0.5057 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.3538, allocations: 0.5146 MB / 0.5063 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/0.3544, allocations: 434.6 kB / 0.5067 GB, free: 27.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.3545, allocations: 331.2 kB / 0.507 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.3558, allocations: 0.9171 MB / 0.5079 GB, free: 27.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.3576, allocations: 1.876 MB / 0.5097 GB, free: 25.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.3621, allocations: 2.947 MB / 0.5126 GB, free: 23.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/0.3621, allocations: 12.69 kB / 0.5126 GB, free: 23.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01018/0.3723, allocations: 3.665 MB / 0.5162 GB, free: 22.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.3724, allocations: 20.77 kB / 0.5162 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.618e-05/0.3724, allocations: 35.66 kB / 0.5162 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/0.3776, allocations: 0.9838 MB / 0.5172 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.381, allocations: 0.5645 MB / 0.5177 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.3925, allocations: 6.454 MB / 0.524 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.3949, allocations: 162.4 kB / 0.5242 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.3952, allocations: 122.4 kB / 0.5243 GB, free: 17.86 MB / 446.1 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 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.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.001027/0.3962, allocations: 0.565 MB / 0.5249 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.3965, allocations: 117.8 kB / 0.525 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/0.4053, allocations: 2.831 MB / 0.5277 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007847/0.4131, allocations: 2.468 MB / 0.5302 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.4132, allocations: 5.797 kB / 0.5302 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/0.4132, allocations: 16.2 kB / 0.5302 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.4279, allocations: 5.446 MB / 0.5355 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/0.428, allocations: 5.906 kB / 0.5355 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.4301, allocations: 281.9 kB / 0.5358 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005861/0.436, allocations: 1.196 MB / 0.5369 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003369/0.4363, allocations: 41.3 kB / 0.537 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009649/0.446, allocations: 6.128 MB / 0.543 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004428/0.4504, allocations: 3.694 MB / 0.5466 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.4606, allocations: 4.307 MB / 0.5508 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005048/0.4611, allocations: 128.5 kB / 0.5509 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.4615, allocations: 36 kB / 0.5509 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.463, allocations: 75.91 kB / 0.551 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/0.4634, allocations: 128.6 kB / 0.5511 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.4636, allocations: 51.97 kB / 0.5512 GB, free: 2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007683/0.4643, allocations: 0.5576 MB / 0.5517 GB, free: 1.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4643, allocations: 0 / 0.5517 GB, free: 1.445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002706/0.4671, allocations: 0.5585 MB / 0.5523 GB, free: 0.8867 MB / 446.1 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.0003145/0.4674, allocations: 143 kB / 0.5524 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/0.4749, allocations: 2.562 MB / 0.5549 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/0.4749, allocations: 4 kB / 0.5549 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004588/0.4795, allocations: 1.31 MB / 0.5562 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.482, allocations: 263.4 kB / 0.5564 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.4909, allocations: 3.796 MB / 0.5601 GB, free: 8.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.4922, allocations: 0.8244 MB / 0.561 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001682/0.4939, allocations: 423.2 kB / 0.5614 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.4944, allocations: 108.4 kB / 0.5615 GB, free: 7.297 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4945, allocations: 0 / 0.5615 GB, free: 7.297 MB / 462.1 MB Notification: Performance of Templates: time 0.0483/0.5428, allocations: 25.45 MB / 0.5863 GB, free: 14.09 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.558001574128866] Failed to read output from testmodel.py, exit status != 0: 0.5526314824819565 0.56925004 0.263711638 Calling exit ...