Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001525/0.001526, allocations: 108 kB / 15.6 MB, free: 132 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.001565/0.001565, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.001326/0.001326, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2254, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004833/0.2303, allocations: 3.744 MB / 329 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2325, allocations: 1.03 MB / 330.1 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.2327, allocations: 9.5 kB / 330.1 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.2331, allocations: 114 kB / 330.2 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.2335, allocations: 201.5 kB / 330.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.2338, allocations: 144.1 kB / 330.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000811/0.2347, allocations: 0.696 MB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.235, allocations: 205.5 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.2355, allocations: 265.4 kB / 331.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.2359, allocations: 303.3 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.236, allocations: 63.19 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.2361, allocations: 61.34 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2363, allocations: 129.8 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.2366, allocations: 321.8 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.2375, allocations: 0.7 MB / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2375, allocations: 0 / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2375, allocations: 1.219 kB / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2375, allocations: 0 / 333.3 MB, free: 11.89 MB / 270.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.001819/0.2393, allocations: 0.9243 MB / 334.2 MB, free: 10.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2394, allocations: 12.03 kB / 334.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2395, allocations: 72.19 kB / 334.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.2402, allocations: 434.8 kB / 334.7 MB, free: 10.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.2404, allocations: 83.22 kB / 334.8 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2405, allocations: 36.38 kB / 334.8 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.2414, allocations: 0.5177 MB / 335.3 MB, free: 9.707 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2414, allocations: 0 / 335.3 MB, free: 9.707 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.2414, allocations: 19.94 kB / 335.3 MB, free: 9.688 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2415, allocations: 12 kB / 335.4 MB, free: 9.676 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.2424, allocations: 371.8 kB / 335.7 MB, free: 9.312 MB / 270.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.002276/0.2447, allocations: 1.355 MB / 337.1 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/0.2457, allocations: 477.1 kB / 337.5 MB, free: 7.375 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.2461, allocations: 204.7 kB / 337.7 MB, free: 7.172 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.2462, allocations: 7.984 kB / 337.7 MB, free: 7.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2462, allocations: 42.56 kB / 337.8 MB, free: 7.113 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.2462, allocations: 0 / 337.8 MB, free: 7.113 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001774/0.248, allocations: 0.7811 MB / 338.6 MB, free: 6.281 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.2482, allocations: 456.8 kB / 339 MB, free: 5.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.2487, allocations: 482 kB / 339.5 MB, free: 5.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.2488, allocations: 33.7 kB / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.249, allocations: 236.5 kB / 339.7 MB, free: 4.977 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2491, allocations: 134 kB / 339.9 MB, free: 4.844 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.2492, allocations: 77.69 kB / 340 MB, free: 4.762 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2494, allocations: 366.8 kB / 340.3 MB, free: 4.395 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.2498, allocations: 151.9 kB / 340.5 MB, free: 4.246 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.2504, allocations: 306.2 kB / 340.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.2513, allocations: 375 kB / 341.1 MB, free: 3.516 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2513, allocations: 0 / 341.1 MB, free: 3.516 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001172/0.2525, allocations: 0.5152 MB / 341.6 MB, free: 2.98 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.2525, allocations: 29.7 kB / 341.7 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2525, allocations: 0 / 341.7 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.2527, allocations: 61.72 kB / 341.7 MB, free: 2.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.2532, allocations: 87.88 kB / 341.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.2558, allocations: 2.969 MB / 344.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.2563, allocations: 59.61 kB / 344.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2563, allocations: 11.98 kB / 344.9 MB, free: 15.47 MB / 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.0002217/0.2566, allocations: 177.7 kB / 345 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.2567, allocations: 55.38 kB / 345.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.2568, allocations: 60.92 kB / 345.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2568, allocations: 4 kB / 345.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2568, allocations: 3.938 kB / 345.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.2579, allocations: 0.7593 MB / 345.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.2597, allocations: 1.063 MB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2597, allocations: 4.172 kB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.2602, allocations: 103.9 kB / 347.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2602, allocations: 4 kB / 347.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2602, allocations: 4 kB / 347.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2602, allocations: 4 kB / 347.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2602, allocations: 3.984 kB / 347.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2617, allocations: 0.7097 MB / 347.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2619, allocations: 176.2 kB / 348 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.262, allocations: 15.94 kB / 348 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.2624, allocations: 39.95 kB / 348 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.2625, allocations: 23.97 kB / 348.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.2625, allocations: 8 kB / 348.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.2629, allocations: 338.9 kB / 348.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2629, allocations: 0 / 348.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2634, allocations: 143.8 kB / 348.5 MB, free: 11.59 MB / 286.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.0001224/0.2635, allocations: 107.2 kB / 348.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.2649, allocations: 0.6958 MB / 349.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2649, allocations: 0 / 349.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.2654, allocations: 199.5 kB / 349.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.2661, allocations: 141.9 kB / 349.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.2678, allocations: 0.9709 MB / 350.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2682, allocations: 0.8392 MB / 351.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.2685, allocations: 60.55 kB / 351.5 MB, free: 8.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2686, allocations: 47.42 kB / 351.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2686, allocations: 0 / 351.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of Templates: time 0.01456/0.2832, allocations: 9.033 MB / 360.6 MB, free: 15.39 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)