Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.0009641/0.0009641, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001018/0.001018, allocations: 173 kB / 24.91 MB, free: 8.723 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1072/0.1072, allocations: 19.73 MB / 281.6 MB, free: 9.023 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 305.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.405e-05, allocations: 2.969 kB / 305.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01697/0.01699, allocations: 20.01 MB / 325.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.02487, allocations: 8.366 MB / 333.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.02514, allocations: 11.88 kB / 333.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.02556, allocations: 134.9 kB / 333.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.02605, allocations: 321.7 kB / 334.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008266/0.03431, allocations: 4.167 MB / 338.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.03516, allocations: 0.8598 MB / 339.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.03556, allocations: 214.9 kB / 339.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.03606, allocations: 419 kB / 339.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.0364, allocations: 259.2 kB / 339.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.03644, allocations: 32 kB / 340 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00778/0.04422, allocations: 6.197 MB / 346.2 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.04428, allocations: 87.59 kB / 346.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.04442, allocations: 175.6 kB / 346.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005336/0.04976, allocations: 4.49 MB / 350.9 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.04976, allocations: 0 / 350.9 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.04976, allocations: 4 kB / 350.9 MB, free: 476 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.04977, allocations: 4 kB / 350.9 MB, free: 472 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002046/0.05181, allocations: 1.093 MB / 352 MB, free: 15.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.05185, allocations: 12.03 kB / 352 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.05216, allocations: 132.8 kB / 352.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.05252, allocations: 265.6 kB / 352.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/0.05261, allocations: 84.61 kB / 352.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.05265, allocations: 36.38 kB / 352.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.05332, allocations: 378.3 kB / 352.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.05334, allocations: 7.938 kB / 352.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.05336, allocations: 12 kB / 352.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.05337, allocations: 12 kB / 352.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.05385, allocations: 198.9 kB / 353.1 MB, free: 14.16 MB / 330.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.001197/0.05505, allocations: 1.115 MB / 354.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.05555, allocations: 178.4 kB / 354.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.05564, allocations: 52.84 kB / 354.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1127/0.1684, allocations: 58.35 MB / 412.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.1684, allocations: 46.48 kB / 412.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.1684, allocations: 0 / 412.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0026/0.171, allocations: 1.086 MB / 414 MB, free: 1.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.171, allocations: 55.41 kB / 414 MB, free: 1.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1712, allocations: 266.9 kB / 414.3 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1712, allocations: 29.7 kB / 414.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.1713, allocations: 189.4 kB / 414.5 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1714, allocations: 130.9 kB / 414.6 MB, free: 500 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.1715, allocations: 69.62 kB / 414.7 MB, free: 424 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.1716, allocations: 350.7 kB / 415 MB, free: 64 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.1717, allocations: 56.78 kB / 415.1 MB, free: 4 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1718, allocations: 97.23 kB / 415.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1719, allocations: 177.8 kB / 415.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1719, allocations: 4 kB / 415.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000349/0.1723, allocations: 263.9 kB / 415.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1723, allocations: 10.19 kB / 415.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1723, allocations: 0 / 415.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.1725, allocations: 77.73 kB / 415.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.1728, allocations: 90.72 kB / 415.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005334/0.1733, allocations: 1.066 MB / 416.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1735, allocations: 8 kB / 416.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1735, allocations: 11.98 kB / 416.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001297/0.1736, allocations: 124.1 kB / 417 MB, free: 14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.013e-05/0.1737, allocations: 100.8 kB / 417.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001483/0.1738, allocations: 160.2 kB / 417.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.1738, allocations: 0 / 417.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003123/0.1742, allocations: 259.2 kB / 417.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.1742, allocations: 8 kB / 417.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.1742, allocations: 4.125 kB / 417.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.1744, allocations: 65.64 kB / 417.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1746, allocations: 91.88 kB / 417.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/0.175, allocations: 1.062 MB / 418.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.1751, allocations: 11.98 kB / 418.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1751, allocations: 11.98 kB / 418.7 MB, free: 12.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank1.liquidState.phase,Tank2.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1752, allocations: 200.2 kB / 418.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.1753, allocations: 39.97 kB / 419 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.1759, allocations: 0.5738 MB / 419.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1759, allocations: 4 kB / 419.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1759, allocations: 4 kB / 419.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1759, allocations: 3.984 kB / 419.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.1763, allocations: 332.4 kB / 419.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1763, allocations: 7.938 kB / 419.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1765, allocations: 79.94 kB / 420 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.1768, allocations: 103.1 kB / 420.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1768, allocations: 12 kB / 420.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004417/0.1772, allocations: 1.062 MB / 421.2 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1772, allocations: 7.875 kB / 421.2 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.1778, allocations: 0.6397 MB / 421.8 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.1779, allocations: 51.64 kB / 421.9 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.178, allocations: 8 kB / 421.9 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.178, allocations: 11.94 kB / 421.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.1781, allocations: 27.94 kB / 421.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1781, allocations: 8 kB / 421.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.973e-05/0.1782, allocations: 100.6 kB / 422 MB, free: 8.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1782, allocations: 4 kB / 422 MB, free: 8.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002247/0.1804, allocations: 0.9477 MB / 423 MB, free: 7.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 5 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003027/0.1835, allocations: 1.141 MB / 424.1 MB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007929/0.1843, allocations: 404.5 kB / 424.5 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.1843, allocations: 4 kB / 424.5 MB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1845, allocations: 194.5 kB / 424.7 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.185, allocations: 194 kB / 424.9 MB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1866, allocations: 0.9855 MB / 425.9 MB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.1867, allocations: 122.8 kB / 426 MB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003942/0.1871, allocations: 338.9 kB / 426.3 MB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.1873, allocations: 161.3 kB / 426.5 MB, free: 4.207 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1873, allocations: 4 kB / 426.5 MB, free: 4.203 MB / 394.7 MB Notification: Performance of Templates: time 0.1788/0.3661, allocations: 40.17 MB / 466.6 MB, free: 112.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.481575162149966]