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.001393/0.001393, allocations: 103.1 kB / 16.5 MB, free: 6.707 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.001198/0.001198, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.424/1.424, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001156/0.001156, allocations: 55.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08715, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004692/0.09188, allocations: 3.774 MB / 329.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.09352, allocations: 1.033 MB / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.09371, allocations: 8 kB / 330.8 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.09403, allocations: 87.42 kB / 330.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.09439, allocations: 178.5 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.09463, allocations: 119.9 kB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.09518, allocations: 0.6691 MB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.09547, allocations: 183.5 kB / 332 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.09573, allocations: 247 kB / 332.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.09602, allocations: 302.6 kB / 332.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.09611, allocations: 40 kB / 332.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.561e-05/0.09621, allocations: 47.94 kB / 332.6 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.09631, allocations: 107.6 kB / 332.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.09657, allocations: 306.4 kB / 333 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.09711, allocations: 0.6851 MB / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.09712, allocations: 0 / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09713, allocations: 0 / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.09714, allocations: 3.938 kB / 333.7 MB, free: 13.08 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.001516/0.09866, allocations: 0.9131 MB / 334.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.09871, allocations: 8.031 kB / 334.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.09884, allocations: 72.19 kB / 334.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.09946, allocations: 438.8 kB / 335.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.09967, allocations: 83.22 kB / 335.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.09974, allocations: 36.38 kB / 335.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.1006, allocations: 0.5138 MB / 335.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1006, allocations: 0 / 335.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.1007, allocations: 16 kB / 335.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1007, allocations: 8 kB / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.1016, allocations: 375.7 kB / 336.1 MB, free: 10.48 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.001974/0.1036, allocations: 1.359 MB / 337.5 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.1045, allocations: 472.2 kB / 338 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.105, allocations: 216.5 kB / 338.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1051, allocations: 4 kB / 338.2 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1051, allocations: 38.56 kB / 338.2 MB, free: 8.277 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.1051, allocations: 4 kB / 338.2 MB, free: 8.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001736/0.1068, allocations: 0.7777 MB / 339 MB, free: 7.445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.107, allocations: 453 kB / 339.4 MB, free: 6.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.1075, allocations: 478 kB / 339.9 MB, free: 6.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1076, allocations: 33.7 kB / 339.9 MB, free: 6.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1078, allocations: 248.4 kB / 340.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1079, allocations: 130.1 kB / 340.3 MB, free: 6.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.108, allocations: 77.66 kB / 340.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1082, allocations: 358.8 kB / 340.7 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.1086, allocations: 155.9 kB / 340.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.1091, allocations: 314.1 kB / 341.2 MB, free: 5.051 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.11, allocations: 371.1 kB / 341.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.11, allocations: 0 / 341.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001114/0.1111, allocations: 0.5229 MB / 342.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1112, allocations: 29.7 kB / 342.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1112, allocations: 0 / 342.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.1113, allocations: 49.7 kB / 342.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.1118, allocations: 99.86 kB / 342.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.1141, allocations: 2.744 MB / 345 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.1146, allocations: 63.78 kB / 345.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.1146, allocations: 15.98 kB / 345.1 MB, free: 0.8594 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.0002307/0.1149, allocations: 173.7 kB / 345.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.115, allocations: 55.34 kB / 345.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1151, allocations: 60.92 kB / 345.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1151, allocations: 4 kB / 345.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1151, allocations: 0 / 345.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/0.1162, allocations: 0.7632 MB / 346.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1178, allocations: 1.071 MB / 347.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1179, allocations: 0 / 347.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.1183, allocations: 99.86 kB / 347.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1184, allocations: 4 kB / 347.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1184, allocations: 4 kB / 347.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1184, allocations: 4 kB / 347.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1184, allocations: 0 / 347.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1198, allocations: 0.7177 MB / 348 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.12, allocations: 176.3 kB / 348.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.1201, allocations: 8 kB / 348.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.1205, allocations: 35.95 kB / 348.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.1206, allocations: 32.2 kB / 348.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1206, allocations: 8 kB / 348.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.121, allocations: 338.9 kB / 348.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.121, allocations: 0 / 348.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.1215, allocations: 139.8 kB / 348.8 MB, free: 12.98 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.0001312/0.1216, allocations: 115.2 kB / 348.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1229, allocations: 0.6799 MB / 349.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.123, allocations: 0 / 349.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.1234, allocations: 199.5 kB / 349.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.1242, allocations: 138 kB / 349.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1258, allocations: 1.124 MB / 351 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1262, allocations: 0.8392 MB / 351.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.1265, allocations: 64.48 kB / 351.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1266, allocations: 43.42 kB / 351.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1266, allocations: 4 kB / 351.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01347/0.1401, allocations: 8.382 MB / 360.3 MB, free: 1.297 MB / 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)