Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 89.8 kB / 16.65 MB, free: 6.59 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.001065/0.001066, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.552/1.552, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0006462/0.0006464, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1075, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00405/0.1116, allocations: 3.392 MB / 331.7 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.1139, allocations: 0.9632 MB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.1145, allocations: 7.938 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.115, allocations: 91.36 kB / 332.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.1158, allocations: 174.7 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1162, allocations: 123.8 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1174, allocations: 0.669 MB / 333.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.1179, allocations: 191.5 kB / 333.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.1184, allocations: 231 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.119, allocations: 282.7 kB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.1191, allocations: 36 kB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1193, allocations: 40 kB / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1194, allocations: 103.5 kB / 334.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.1199, allocations: 324.2 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007539/0.1206, allocations: 0.6693 MB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1207, allocations: 0 / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1207, allocations: 0 / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.1207, allocations: 0 / 335.6 MB, free: 12.45 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001738/0.1224, allocations: 0.8276 MB / 336.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1225, allocations: 12.03 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.1227, allocations: 72.19 kB / 336.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.1235, allocations: 438.8 kB / 336.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.1238, allocations: 95.23 kB / 337 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.1239, allocations: 32.38 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1249, allocations: 0.529 MB / 337.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.125, allocations: 0 / 337.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.125, allocations: 23.94 kB / 337.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.125, allocations: 8 kB / 337.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.126, allocations: 399.7 kB / 338 MB, free: 9.879 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.00228/0.1283, allocations: 1.363 MB / 339.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.1293, allocations: 496.3 kB / 339.8 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.1298, allocations: 216.8 kB / 340.1 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1299, allocations: 4 kB / 340.1 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1299, allocations: 38.56 kB / 340.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/0.1299, allocations: 0 / 340.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.00183/0.1318, allocations: 0.8128 MB / 340.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.132, allocations: 445 kB / 341.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.1325, allocations: 485.9 kB / 341.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.1326, allocations: 33.7 kB / 341.8 MB, free: 5.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1328, allocations: 252.4 kB / 342.1 MB, free: 5.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1329, allocations: 118.2 kB / 342.2 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.1329, allocations: 37.7 kB / 342.2 MB, free: 5.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1331, allocations: 358.8 kB / 342.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.1336, allocations: 171.9 kB / 342.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.1341, allocations: 314.2 kB / 343.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.135, allocations: 399 kB / 343.5 MB, free: 4.016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.135, allocations: 4 kB / 343.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001172/0.1362, allocations: 0.5347 MB / 344 MB, free: 3.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.1363, allocations: 33.7 kB / 344 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1363, allocations: 0 / 344 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.1365, allocations: 49.69 kB / 344.1 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1369, allocations: 103.9 kB / 344.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.1393, allocations: 2.744 MB / 346.9 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.1398, allocations: 71.59 kB / 347 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.1399, allocations: 12 kB / 347 MB, free: 176 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.1402, allocations: 173.8 kB / 347.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1403, allocations: 51.44 kB / 347.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1404, allocations: 64.88 kB / 347.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1404, allocations: 0 / 347.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1404, allocations: 8 kB / 347.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.1416, allocations: 0.7825 MB / 348.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.1434, allocations: 1.099 MB / 349.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1434, allocations: 0 / 349.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.1439, allocations: 107.8 kB / 349.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1439, allocations: 7.938 kB / 349.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.144, allocations: 4 kB / 349.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.144, allocations: 4 kB / 349.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.144, allocations: 3.938 kB / 349.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1456, allocations: 0.7491 MB / 350.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.1459, allocations: 172.3 kB / 350.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.146, allocations: 12 kB / 350.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.1464, allocations: 44.02 kB / 350.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.1465, allocations: 27.91 kB / 350.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1465, allocations: 12 kB / 350.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003922/0.1469, allocations: 334.9 kB / 350.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1469, allocations: 0 / 350.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.1474, allocations: 139.8 kB / 350.8 MB, free: 12.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.1476, allocations: 111.2 kB / 350.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.149, allocations: 0.6916 MB / 351.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.149, allocations: 0 / 351.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.1496, allocations: 211.6 kB / 351.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.1504, allocations: 129.9 kB / 351.9 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1522, allocations: 1.212 MB / 353.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1526, allocations: 0.8353 MB / 354 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.1529, allocations: 64.53 kB / 354 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1531, allocations: 39.44 kB / 354.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1531, allocations: 0 / 354.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of Templates: time 0.01476/0.1678, allocations: 8.317 MB / 362.4 MB, free: 492 kB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)