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.0008677/0.0008677, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0009462/0.0009462, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8881/0.8881, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.3362/0.3362, allocations: 50.75 MB / 311.5 MB, free: 5.184 MB / 282.7 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 180] 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 2.766e-06/2.766e-06, allocations: 0 / 463.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.859e-05, allocations: 2.281 kB / 463.3 MB, free: 29.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.004414/0.004443, allocations: 6.579 MB / 469.8 MB, free: 25.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.00785, allocations: 4.144 MB / 474 MB, free: 22.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.008297, allocations: 13.72 kB / 474 MB, free: 22.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.009148, allocations: 0.4929 MB / 474.5 MB, free: 22.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007708/0.009919, allocations: 0.7485 MB / 475.2 MB, free: 21.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.01063, allocations: 0.543 MB / 475.8 MB, free: 21.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01197, allocations: 2.527 MB / 478.3 MB, free: 20 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.01251, allocations: 0.6399 MB / 479 MB, free: 19.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/0.01343, allocations: 1.252 MB / 480.2 MB, free: 19.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.01424, allocations: 0.9642 MB / 481.2 MB, free: 18.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.01441, allocations: 211.4 kB / 481.4 MB, free: 18.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.01466, allocations: 212.7 kB / 481.6 MB, free: 18.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.01504, allocations: 0.8328 MB / 482.4 MB, free: 18.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.01559, allocations: 0.7768 MB / 483.2 MB, free: 18.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.01746, allocations: 3.166 MB / 486.4 MB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01746, allocations: 0 / 486.4 MB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01747, allocations: 1 kB / 486.4 MB, free: 17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.01751, allocations: 0 / 486.4 MB, free: 17 MB / 410.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.002996/0.0205, allocations: 2.106 MB / 488.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.02054, allocations: 9.625 kB / 488.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.02106, allocations: 233.1 kB / 488.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.02199, allocations: 0.6987 MB / 489.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/0.02208, allocations: 144.7 kB / 489.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004821/0.02256, allocations: 267.8 kB / 489.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/0.02563, allocations: 2.735 MB / 492.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.02566, allocations: 11.22 kB / 492.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.0258, allocations: 89.3 kB / 492.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.02594, allocations: 148 kB / 492.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.02865, allocations: 2.167 MB / 494.9 MB, free: 12.83 MB / 410.7 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.007809/0.03646, allocations: 8.816 MB / 0.492 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.03785, allocations: 1.059 MB / 0.493 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.03858, allocations: 0.5895 MB / 0.4936 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.03866, allocations: 15.48 kB / 0.4936 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.03868, allocations: 53.08 kB / 0.4936 GB, free: 5.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 4.017e-06/0.03869, allocations: 0 / 0.4936 GB, free: 5.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01245/0.05114, allocations: 7.365 MB / 0.5008 GB, free: 2.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002905/0.05404, allocations: 3.84 MB / 0.5046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.05523, allocations: 0.9382 MB / 0.5055 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.05546, allocations: 51.45 kB / 0.5055 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.05594, allocations: 0.9804 MB / 0.5065 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.05638, allocations: 0.5138 MB / 0.507 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.0569, allocations: 434.6 kB / 0.5074 GB, free: 12.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.05699, allocations: 328.1 kB / 0.5077 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.05818, allocations: 0.9197 MB / 0.5086 GB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.05986, allocations: 1.881 MB / 0.5105 GB, free: 9.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.06247, allocations: 2.943 MB / 0.5133 GB, free: 6.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.06249, allocations: 8 kB / 0.5133 GB, free: 6.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005404/0.06789, allocations: 3.67 MB / 0.5169 GB, free: 2.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.06793, allocations: 23.94 kB / 0.5169 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.06796, allocations: 36.12 kB / 0.517 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.07031, allocations: 0.9848 MB / 0.5179 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.07204, allocations: 0.5615 MB / 0.5185 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.07882, allocations: 6.451 MB / 0.5248 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.08042, allocations: 159.8 kB / 0.5249 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.08058, allocations: 127.9 kB / 0.5251 GB, free: 10.05 MB / 442.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 (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.0009329/0.08151, allocations: 0.5604 MB / 0.5256 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.08175, allocations: 123.2 kB / 0.5257 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.08611, allocations: 2.822 MB / 0.5285 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004083/0.0902, allocations: 2.472 MB / 0.5309 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.09021, allocations: 4 kB / 0.5309 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.09022, allocations: 15.89 kB / 0.5309 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/0.09872, allocations: 5.445 MB / 0.5362 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.09873, allocations: 8 kB / 0.5362 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.09976, allocations: 280.2 kB / 0.5365 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/0.1027, allocations: 1.194 MB / 0.5377 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.1028, allocations: 39.98 kB / 0.5377 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005969/0.1088, allocations: 6.127 MB / 0.5437 GB, free: 6.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002944/0.1118, allocations: 3.707 MB / 0.5473 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.1178, allocations: 4.301 MB / 0.5515 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.1182, allocations: 123.2 kB / 0.5516 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.1183, allocations: 39.94 kB / 0.5517 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.119, allocations: 79.91 kB / 0.5518 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.1193, allocations: 120.6 kB / 0.5519 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.1194, allocations: 59.97 kB / 0.5519 GB, free: 13.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.12, allocations: 0.5575 MB / 0.5525 GB, free: 13.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.12, allocations: 0 / 0.5525 GB, free: 13.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001952/0.1219, allocations: 0.5508 MB / 0.553 GB, free: 12.73 MB / 474.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.0002119/0.1221, allocations: 139 kB / 0.5531 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.126, allocations: 2.565 MB / 0.5556 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.126, allocations: 4.062 kB / 0.5556 GB, free: 10 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.128, allocations: 1.309 MB / 0.5569 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.1292, allocations: 266.2 kB / 0.5572 GB, free: 8.434 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.1345, allocations: 3.913 MB / 0.561 GB, free: 4.383 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.1352, allocations: 0.8251 MB / 0.5618 GB, free: 3.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.1357, allocations: 120.5 kB / 0.5619 GB, free: 3.402 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1357, allocations: 3.938 kB / 0.5619 GB, free: 3.398 MB / 474.7 MB Notification: Performance of Templates: time 0.03831/0.174, allocations: 49.96 MB / 0.6107 GB, free: 1.387 MB / 0.5105 GB " [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=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.573502372018993] Failed to read output from testmodel.py, exit status != 0: 0.1799499560147524 0.18875711799999995 0.16949396399999994 Calling exit ...