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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 174.3 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5535/0.5535, allocations: 64.92 MB / 356.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 15.03 kB / 432 MB, free: 39.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 64.85 MB / 496.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.006767/0.1378, allocations: 6.588 MB / 0.4916 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.1438, allocations: 4.149 MB / 0.4957 GB, free: 5.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007059/0.1445, allocations: 11.94 kB / 0.4957 GB, free: 5.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1456, allocations: 413.6 kB / 0.4961 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.147, allocations: 0.6485 MB / 0.4967 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.1479, allocations: 327.5 kB / 0.497 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.1508, allocations: 2.754 MB / 0.4997 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000925/0.1517, allocations: 0.5846 MB / 0.5003 GB, free: 376 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1528, allocations: 0.7438 MB / 0.501 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.1541, allocations: 1.02 MB / 0.502 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1543, allocations: 80 kB / 0.5021 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1545, allocations: 83.94 kB / 0.5022 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.1552, allocations: 0.6895 MB / 0.5028 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.1556, allocations: 408.8 kB / 0.5032 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.1576, allocations: 2.392 MB / 0.5056 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1576, allocations: 4 kB / 0.5056 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1576, allocations: 0 / 0.5056 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-05/0.1576, allocations: 0 / 0.5056 GB, free: 10.94 MB / 382.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.003905/0.1616, allocations: 1.838 MB / 0.5074 GB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1616, allocations: 12.03 kB / 0.5074 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.162, allocations: 193.8 kB / 0.5076 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1631, allocations: 0.7307 MB / 0.5083 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.1632, allocations: 148 kB / 0.5084 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006443/0.1638, allocations: 275.8 kB / 0.5087 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00415/0.168, allocations: 2.719 MB / 0.5113 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.638e-05/0.1681, allocations: 7.938 kB / 0.5113 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.1684, allocations: 87.98 kB / 0.5114 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/0.1686, allocations: 159.4 kB / 0.5116 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.1725, allocations: 2.168 MB / 0.5137 GB, free: 2.32 MB / 382.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.01312/0.1856, allocations: 10.8 MB / 0.5242 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.1885, allocations: 2.793 MB / 0.527 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1897, allocations: 0.6566 MB / 0.5276 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1898, allocations: 21 kB / 0.5276 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1899, allocations: 51.5 kB / 0.5277 GB, free: 2.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.125e-06/0.1899, allocations: 0 / 0.5277 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.0199/0.2098, allocations: 7.651 MB / 0.5352 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005147/0.215, allocations: 3.892 MB / 0.539 GB, free: 6.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2166, allocations: 1.079 MB / 0.54 GB, free: 5.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.2168, allocations: 53.64 kB / 0.5401 GB, free: 5.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/0.2175, allocations: 0.9318 MB / 0.541 GB, free: 4.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.218, allocations: 0.4931 MB / 0.5414 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2181, allocations: 44 kB / 0.5415 GB, free: 4.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.2183, allocations: 447.5 kB / 0.5419 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.2199, allocations: 0.9064 MB / 0.5428 GB, free: 2.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.2222, allocations: 1.871 MB / 0.5446 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.2241, allocations: 1.252 MB / 0.5459 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.2241, allocations: 11.94 kB / 0.5459 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008262/0.2324, allocations: 3.695 MB / 0.5495 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.2324, allocations: 24.92 kB / 0.5495 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/0.2325, allocations: 32.44 kB / 0.5495 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004421/0.2369, allocations: 1.009 MB / 0.5505 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.2396, allocations: 0.5732 MB / 0.5511 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.25, allocations: 6.311 MB / 0.5572 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.2523, allocations: 231.5 kB / 0.5575 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.2525, allocations: 124 kB / 0.5576 GB, free: 3.168 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009732/0.2535, allocations: 0.5569 MB / 0.5581 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.2538, allocations: 130.5 kB / 0.5582 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007728/0.2616, allocations: 2.886 MB / 0.5611 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006632/0.2682, allocations: 2.495 MB / 0.5635 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.2682, allocations: 7.828 kB / 0.5635 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.2683, allocations: 11.97 kB / 0.5635 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.281, allocations: 6.067 MB / 0.5694 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.2811, allocations: 12.12 kB / 0.5695 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.2828, allocations: 295.6 kB / 0.5697 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005419/0.2883, allocations: 1.224 MB / 0.5709 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.2885, allocations: 39.98 kB / 0.571 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.303/0.5915, allocations: 6.002 MB / 0.5768 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004327/0.5958, allocations: 3.781 MB / 0.5805 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/0.6052, allocations: 4.349 MB / 0.5848 GB, free: 75.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.6059, allocations: 218.6 kB / 0.585 GB, free: 75.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.6061, allocations: 37.19 kB / 0.585 GB, free: 75.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.6075, allocations: 138.1 kB / 0.5851 GB, free: 75.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003711/0.6079, allocations: 121.3 kB / 0.5853 GB, free: 75.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.608, allocations: 47.36 kB / 0.5853 GB, free: 75.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.6092, allocations: 0.6915 MB / 0.586 GB, free: 75.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6092, allocations: 4.812 kB / 0.586 GB, free: 75.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002854/0.6121, allocations: 0.5795 MB / 0.5866 GB, free: 75.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002614/0.6124, allocations: 141.3 kB / 0.5867 GB, free: 75.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007478/0.6199, allocations: 2.633 MB / 0.5893 GB, free: 75.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.6199, allocations: 0 / 0.5893 GB, free: 75.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004444/0.6244, allocations: 1.399 MB / 0.5906 GB, free: 75.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.6277, allocations: 388.3 kB / 0.591 GB, free: 75.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.6362, allocations: 4.541 MB / 0.5954 GB, free: 72.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.6374, allocations: 1.42 MB / 0.5968 GB, free: 72.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001892/0.6393, allocations: 455.5 kB / 0.5972 GB, free: 72.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.6397, allocations: 112.8 kB / 0.5974 GB, free: 72.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6397, allocations: 0 / 0.5974 GB, free: 72.17 MB / 446.1 MB Notification: Performance of Templates: time 0.03692/0.6766, allocations: 26.97 MB / 0.6237 GB, free: 50.57 MB / 446.1 MB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: