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.01108/0.01108, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.001919/0.001919, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001169/0.001169, allocations: 45.53 kB / 326.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09505, allocations: 46.64 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006121/0.1012, allocations: 3.728 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1036, allocations: 1.04 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.1041, allocations: 8 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.1045, allocations: 111 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.1051, allocations: 210.3 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1054, allocations: 139.8 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.1062, allocations: 0.7003 MB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.1065, allocations: 206.8 kB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.1069, allocations: 271 kB / 379.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.1072, allocations: 314.6 kB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.1073, allocations: 60 kB / 379.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.1074, allocations: 60 kB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1076, allocations: 123.6 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1079, allocations: 326.4 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00076/0.1086, allocations: 0.7162 MB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1087, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1087, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1087, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.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.001739/0.1104, allocations: 0.9131 MB / 382.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1105, allocations: 11.97 kB / 382.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1106, allocations: 76.12 kB / 382.1 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.1114, allocations: 438.8 kB / 382.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1115, allocations: 63.27 kB / 382.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.1116, allocations: 32.38 kB / 382.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.1125, allocations: 0.5021 MB / 383.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1125, allocations: 0 / 383.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.1126, allocations: 23.98 kB / 383.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1126, allocations: 8 kB / 383.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.1134, allocations: 343.8 kB / 383.5 MB, free: 6.754 MB / 318.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.002159/0.1156, allocations: 1.351 MB / 384.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.1165, allocations: 456.7 kB / 385.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.1169, allocations: 200.8 kB / 385.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.117, allocations: 8 kB / 385.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.117, allocations: 42.31 kB / 385.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.117, allocations: 0 / 385.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001682/0.1187, allocations: 0.7316 MB / 386.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003972/0.1191, allocations: 448.9 kB / 386.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/0.1197, allocations: 481.9 kB / 387.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.1197, allocations: 37.7 kB / 387.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1199, allocations: 248.4 kB / 387.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1201, allocations: 126.2 kB / 387.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1202, allocations: 77.69 kB / 387.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1204, allocations: 358.8 kB / 388 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.1208, allocations: 139.9 kB / 388.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.1213, allocations: 294.3 kB / 388.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.1221, allocations: 350.8 kB / 388.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1221, allocations: 0 / 388.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001066/0.1231, allocations: 499.7 kB / 389.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.1232, allocations: 37.69 kB / 389.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1232, allocations: 3.938 kB / 389.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.1234, allocations: 49.7 kB / 389.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.1238, allocations: 87.91 kB / 389.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.1265, allocations: 2.96 MB / 392.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.127, allocations: 63.69 kB / 392.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.1271, allocations: 8 kB / 392.5 MB, free: 13.08 MB / 334.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.0002872/0.1274, allocations: 173.8 kB / 392.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1275, allocations: 55.34 kB / 392.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1276, allocations: 56.92 kB / 392.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1276, allocations: 8 kB / 392.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1276, allocations: 3.938 kB / 392.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.1287, allocations: 0.7359 MB / 393.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.1306, allocations: 1.044 MB / 394.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1306, allocations: 3.938 kB / 394.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.1311, allocations: 91.88 kB / 394.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1311, allocations: 0 / 394.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1311, allocations: 11.98 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1312, allocations: 4 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1312, allocations: 0 / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1325, allocations: 0.676 MB / 395.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.1328, allocations: 172.4 kB / 395.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-05/0.1329, allocations: 8 kB / 395.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.1333, allocations: 23.97 kB / 395.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.1334, allocations: 28.19 kB / 395.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1334, allocations: 12 kB / 395.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004552/0.1339, allocations: 338.9 kB / 395.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1339, allocations: 0 / 395.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1344, allocations: 147.8 kB / 396.1 MB, free: 9.293 MB / 334.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.0001591/0.1345, allocations: 107.2 kB / 396.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1359, allocations: 0.6487 MB / 396.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1359, allocations: 0 / 396.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.1363, allocations: 183.8 kB / 397 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.137, allocations: 149.7 kB / 397.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1387, allocations: 0.9618 MB / 398.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1392, allocations: 0.8314 MB / 398.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.1395, allocations: 64.55 kB / 399 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1396, allocations: 47.42 kB / 399.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1396, allocations: 0 / 399.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of Templates: time 0.01622/0.1558, allocations: 9.074 MB / 408.1 MB, free: 13.11 MB / 350.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)