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.0008004/0.0008004, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00566/0.00566, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.372/1.372, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004239/0.0004241, allocations: 15.98 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 47.58 MB / 327 MB, free: 1.227 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004333/0.2315, allocations: 3.394 MB / 330.4 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.2337, allocations: 0.9631 MB / 331.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.2339, allocations: 9.344 kB / 331.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2342, allocations: 85.22 kB / 331.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.2347, allocations: 179 kB / 331.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.235, allocations: 124.2 kB / 331.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.2358, allocations: 0.6656 MB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.2362, allocations: 188.6 kB / 332.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.2367, allocations: 234.1 kB / 332.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.2371, allocations: 282.4 kB / 333.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.2372, allocations: 37.31 kB / 333.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2373, allocations: 37.16 kB / 333.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2374, allocations: 98.84 kB / 333.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2378, allocations: 321.7 kB / 333.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.2385, allocations: 0.6744 MB / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2385, allocations: 0 / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2385, allocations: 0 / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2385, allocations: 5.219 kB / 334.3 MB, free: 11.77 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.001595/0.2401, allocations: 0.8267 MB / 335.1 MB, free: 11.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2402, allocations: 13.25 kB / 335.1 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.2403, allocations: 67.62 kB / 335.2 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.241, allocations: 442.8 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.2413, allocations: 87.22 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.2414, allocations: 32.38 kB / 335.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.2423, allocations: 0.5372 MB / 336.3 MB, free: 9.844 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2423, allocations: 4 kB / 336.3 MB, free: 9.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.2424, allocations: 16 kB / 336.3 MB, free: 9.824 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2424, allocations: 12 kB / 336.3 MB, free: 9.812 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.2433, allocations: 391.8 kB / 336.7 MB, free: 9.43 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.002083/0.2454, allocations: 1.363 MB / 338.1 MB, free: 7.977 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2465, allocations: 493.5 kB / 338.5 MB, free: 7.469 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.247, allocations: 212.8 kB / 338.7 MB, free: 7.258 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.2471, allocations: 11.98 kB / 338.8 MB, free: 7.246 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.2471, allocations: 42.5 kB / 338.8 MB, free: 7.195 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.2471, allocations: 0 / 338.8 MB, free: 7.195 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001785/0.2489, allocations: 0.8127 MB / 339.6 MB, free: 6.332 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.2491, allocations: 456.9 kB / 340.1 MB, free: 5.781 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.2496, allocations: 482 kB / 340.5 MB, free: 5.297 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.2497, allocations: 33.7 kB / 340.6 MB, free: 5.258 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.2498, allocations: 240.4 kB / 340.8 MB, free: 5.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.25, allocations: 130.1 kB / 340.9 MB, free: 4.891 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.25, allocations: 37.7 kB / 341 MB, free: 4.848 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2502, allocations: 358.8 kB / 341.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.2506, allocations: 167.9 kB / 341.5 MB, free: 4.324 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.2513, allocations: 318.1 kB / 341.8 MB, free: 3.961 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/0.2521, allocations: 391.1 kB / 342.2 MB, free: 3.566 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2522, allocations: 0 / 342.2 MB, free: 3.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/0.2533, allocations: 0.5426 MB / 342.7 MB, free: 3.004 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.2534, allocations: 29.7 kB / 342.7 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2534, allocations: 4 kB / 342.7 MB, free: 2.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.2536, allocations: 49.69 kB / 342.8 MB, free: 2.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.254, allocations: 99.88 kB / 342.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.2563, allocations: 2.744 MB / 345.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.2569, allocations: 71.59 kB / 345.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.2569, allocations: 8 kB / 345.7 MB, free: 15.73 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.0002255/0.2572, allocations: 189.6 kB / 345.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.2572, allocations: 51.44 kB / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2574, allocations: 52.94 kB / 346 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2574, allocations: 4.234 kB / 346 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2574, allocations: 0 / 346 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.2585, allocations: 0.7944 MB / 346.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.2602, allocations: 1.095 MB / 347.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2602, allocations: 0 / 347.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.2607, allocations: 99.88 kB / 348 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.2607, allocations: 4 kB / 348 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2608, allocations: 7.984 kB / 348 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.2608, allocations: 4 kB / 348 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2608, allocations: 3.938 kB / 348 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.2623, allocations: 0.7409 MB / 348.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.2625, allocations: 176.3 kB / 348.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.2626, allocations: 8 kB / 348.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.263, allocations: 47.97 kB / 349 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.2631, allocations: 31.89 kB / 349 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2631, allocations: 4 kB / 349 MB, free: 12.21 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.2635, allocations: 342.9 kB / 349.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2635, allocations: 0 / 349.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.264, allocations: 139.8 kB / 349.5 MB, free: 11.74 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.0001168/0.2641, allocations: 107.2 kB / 349.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2654, allocations: 0.6919 MB / 350.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.2654, allocations: 8.062 kB / 350.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.2659, allocations: 203.5 kB / 350.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.2666, allocations: 141.8 kB / 350.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2683, allocations: 1.204 MB / 351.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2687, allocations: 0.8353 MB / 352.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.269, allocations: 64.55 kB / 352.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.2691, allocations: 47.42 kB / 352.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2691, allocations: 0 / 352.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of Templates: time 0.01384/0.2829, allocations: 8.299 MB / 361.1 MB, free: 40 kB / 286.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)