Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 102.8 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 47.92 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1047, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005962/0.1107, allocations: 4.395 MB / 330.5 MB, free: 396 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1134, allocations: 1.243 MB / 331.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.1139, allocations: 8 kB / 331.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.1145, allocations: 107.3 kB / 331.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009234/0.1154, allocations: 242.1 kB / 332.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.116, allocations: 163.8 kB / 332.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1172, allocations: 0.9295 MB / 333.2 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.1176, allocations: 244.5 kB / 333.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.1182, allocations: 370.6 kB / 333.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.1188, allocations: 390.4 kB / 334.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.1189, allocations: 79.94 kB / 334.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.1192, allocations: 80 kB / 334.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1194, allocations: 171.4 kB / 334.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.1198, allocations: 418.1 kB / 334.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.1207, allocations: 0.9032 MB / 335.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1207, allocations: 0 / 335.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1207, allocations: 4 kB / 335.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1207, allocations: 3.938 kB / 335.8 MB, free: 11.05 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001885/0.1226, allocations: 1.113 MB / 336.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1227, allocations: 8.031 kB / 336.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1228, allocations: 84.09 kB / 337 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.1235, allocations: 484.5 kB / 337.5 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.1237, allocations: 96.97 kB / 337.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.1238, allocations: 48.36 kB / 337.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1248, allocations: 0.6515 MB / 338.3 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1249, allocations: 0 / 338.3 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.1249, allocations: 24 kB / 338.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.125, allocations: 8 kB / 338.3 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.1259, allocations: 447.7 kB / 338.8 MB, free: 7.922 MB / 286.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.003014/0.129, allocations: 1.963 MB / 340.7 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.1308, allocations: 0.6944 MB / 341.4 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.1313, allocations: 262 kB / 341.7 MB, free: 4.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.1314, allocations: 8.422 kB / 341.7 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1314, allocations: 47 kB / 341.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.774e-06/0.1315, allocations: 0 / 341.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004947/0.1364, allocations: 1.48 MB / 343.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002863/0.1367, allocations: 0.5644 MB / 343.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.1373, allocations: 0.5421 MB / 344.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.1374, allocations: 45.69 kB / 344.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1376, allocations: 284.5 kB / 344.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1377, allocations: 189.3 kB / 344.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1379, allocations: 110.2 kB / 344.9 MB, free: 1.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1381, allocations: 374.7 kB / 345.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.1386, allocations: 189 kB / 345.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.1392, allocations: 420.3 kB / 345.9 MB, free: 308 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.1402, allocations: 484.6 kB / 346.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1402, allocations: 4 kB / 346.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002239/0.1424, allocations: 0.8067 MB / 347.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.1425, allocations: 37.7 kB / 347.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1425, allocations: 0 / 347.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.1435, allocations: 222.4 kB / 347.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.1443, allocations: 127.8 kB / 347.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.1517, allocations: 5.619 MB / 353.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.1526, allocations: 83.55 kB / 353.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.1527, allocations: 19.94 kB / 353.3 MB, free: 8.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.153, allocations: 189.8 kB / 353.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1531, allocations: 67.25 kB / 353.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.1555, allocations: 0.7773 MB / 354.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.1555, allocations: 4 kB / 354.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1555, allocations: 3.984 kB / 354.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002168/0.1577, allocations: 1.042 MB / 355.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.1608, allocations: 1.513 MB / 356.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1609, allocations: 0 / 356.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.1616, allocations: 127.8 kB / 357 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/0.1625, allocations: 181.6 kB / 357.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.1626, allocations: 15.98 kB / 357.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/0.1676, allocations: 3.791 MB / 361 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1677, allocations: 0 / 361 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.1706, allocations: 1.07 MB / 362 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.171, allocations: 208.1 kB / 362.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.1711, allocations: 12 kB / 362.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.1717, allocations: 43.95 kB / 362.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1718, allocations: 44.44 kB / 362.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.1718, allocations: 16 kB / 362.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004423/0.1723, allocations: 390.8 kB / 362.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1723, allocations: 0 / 362.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007162/0.173, allocations: 215.8 kB / 363 MB, free: 14.22 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * 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,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.1732, allocations: 115.2 kB / 363.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.1757, allocations: 1.049 MB / 364.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1758, allocations: 0 / 364.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009911/0.1768, allocations: 0.5395 MB / 364.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.1777, allocations: 189.6 kB / 364.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.1799, allocations: 1.491 MB / 366.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1803, allocations: 0.8879 MB / 367.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.1807, allocations: 77.12 kB / 367.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1808, allocations: 59.42 kB / 367.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1808, allocations: 0 / 367.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of Templates: time 0.196/0.3769, allocations: 13.81 MB / 381.2 MB, free: 50.57 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)