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.0009971/0.001001, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.001352/0.001352, allocations: 182.2 kB / 17.19 MB, free: 5.906 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.633/1.633, allocations: 205.4 MB / 223.4 MB, free: 5.758 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.0006784/0.0006785, allocations: 10.66 kB / 280.1 MB, free: 13.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2696, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003307/0.273, allocations: 2.993 MB / 330.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2748, allocations: 0.9552 MB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.2753, allocations: 4.75 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.2755, allocations: 80.06 kB / 331.7 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.2761, allocations: 213.5 kB / 331.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2765, allocations: 96.34 kB / 332 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008159/0.2773, allocations: 496.8 kB / 332.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.2776, allocations: 158.8 kB / 332.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.278, allocations: 216.1 kB / 332.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.2784, allocations: 258.5 kB / 333.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2785, allocations: 33.44 kB / 333.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2787, allocations: 33.41 kB / 333.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.2788, allocations: 94.75 kB / 333.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.279, allocations: 135.2 kB / 333.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.2795, allocations: 0.4955 MB / 333.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2795, allocations: 4 kB / 333.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2795, allocations: 3.938 kB / 333.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.2795, allocations: 1.25 kB / 333.9 MB, free: 12.75 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.001543/0.2811, allocations: 0.8327 MB / 334.8 MB, free: 12.06 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2811, allocations: 8.562 kB / 334.8 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2812, allocations: 66.44 kB / 334.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.2819, allocations: 403.2 kB / 335.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.2821, allocations: 86.59 kB / 335.3 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.2822, allocations: 43.44 kB / 335.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.2831, allocations: 0.5072 MB / 335.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2831, allocations: 7.984 kB / 335.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.2832, allocations: 16 kB / 335.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.2832, allocations: 11.98 kB / 335.9 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.2841, allocations: 399.7 kB / 336.3 MB, free: 10.78 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.001986/0.2861, allocations: 1.324 MB / 337.6 MB, free: 9.363 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2872, allocations: 0.5125 MB / 338.1 MB, free: 8.824 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.2872, allocations: 12 kB / 338.1 MB, free: 8.812 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2872, allocations: 46.55 kB / 338.2 MB, free: 8.758 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.2873, allocations: 0 / 338.2 MB, free: 8.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.00174/0.289, allocations: 0.8025 MB / 339 MB, free: 7.906 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.2892, allocations: 452.9 kB / 339.4 MB, free: 7.359 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.2897, allocations: 446 kB / 339.9 MB, free: 6.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2897, allocations: 37.7 kB / 339.9 MB, free: 6.867 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2899, allocations: 248.5 kB / 340.1 MB, free: 6.621 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.29, allocations: 130 kB / 340.3 MB, free: 6.492 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.29, allocations: 4 kB / 340.3 MB, free: 6.488 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2902, allocations: 362.8 kB / 340.6 MB, free: 6.125 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.2906, allocations: 167.9 kB / 340.8 MB, free: 5.961 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.2911, allocations: 314.2 kB / 341.1 MB, free: 5.602 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.2915, allocations: 209.4 kB / 341.3 MB, free: 5.391 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2916, allocations: 3.938 kB / 341.3 MB, free: 5.387 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001078/0.2926, allocations: 0.5311 MB / 341.8 MB, free: 4.836 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.2927, allocations: 33.64 kB / 341.9 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2927, allocations: 0 / 341.9 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2929, allocations: 57.62 kB / 341.9 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.2933, allocations: 103.9 kB / 342 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.2957, allocations: 2.756 MB / 344.8 MB, free: 1.613 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.2963, allocations: 75.88 kB / 344.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2963, allocations: 12 kB / 344.9 MB, free: 1.527 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.2966, allocations: 169.8 kB / 345 MB, free: 1.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.2967, allocations: 59.34 kB / 345.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.954e-05/0.2968, allocations: 56.92 kB / 345.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2968, allocations: 11.89 kB / 345.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.2968, allocations: 4 kB / 345.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.2979, allocations: 0.7788 MB / 345.9 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.2996, allocations: 1.067 MB / 347 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2996, allocations: 7.953 kB / 347 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.3001, allocations: 103.9 kB / 347.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3001, allocations: 0 / 347.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3002, allocations: 11.98 kB / 347.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3002, allocations: 0 / 347.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3002, allocations: 0 / 347.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3016, allocations: 0.7371 MB / 347.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.3018, allocations: 168.4 kB / 348 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.3019, allocations: 8 kB / 348 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.3023, allocations: 51.92 kB / 348.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.3024, allocations: 27.91 kB / 348.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3024, allocations: 4 kB / 348.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.3027, allocations: 314.9 kB / 348.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3027, allocations: 0 / 348.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.3032, allocations: 139.8 kB / 348.6 MB, free: 13.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.3033, allocations: 111.2 kB / 348.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3046, allocations: 0.6962 MB / 349.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3046, allocations: 0 / 349.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.3051, allocations: 215.6 kB / 349.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3057, allocations: 130.2 kB / 349.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.3072, allocations: 1.144 MB / 350.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.3076, allocations: 0.843 MB / 351.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.3079, allocations: 59.42 kB / 351.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.308, allocations: 39.44 kB / 351.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.308, allocations: 4 kB / 351.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Templates: time 0.01266/0.3207, allocations: 7.573 MB / 359.4 MB, free: 2.707 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: