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.007538/0.007538, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001393/0.001393, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001275/0.001275, allocations: 50.06 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09784, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00545/0.1033, allocations: 3.729 MB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1058, allocations: 1.04 MB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.1064, allocations: 7.938 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1069, allocations: 111 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008067/0.1077, allocations: 206.3 kB / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.1082, allocations: 139.8 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1093, allocations: 0.7081 MB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.1097, allocations: 210.8 kB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.1102, allocations: 271 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.1106, allocations: 306.6 kB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1107, allocations: 60 kB / 379.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.1108, allocations: 60 kB / 380 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.111, allocations: 127.6 kB / 380.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.1114, allocations: 326.4 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.1121, allocations: 0.7124 MB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1121, allocations: 7.938 kB / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1121, allocations: 0 / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1121, allocations: 0 / 381.1 MB, free: 9.285 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.001521/0.1137, allocations: 0.9169 MB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1137, allocations: 8.031 kB / 382.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1138, allocations: 68.19 kB / 382.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.1146, allocations: 446.7 kB / 382.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1147, allocations: 63.27 kB / 382.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.1148, allocations: 36.38 kB / 382.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.1156, allocations: 0.4983 MB / 383.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1156, allocations: 0 / 383.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.1157, allocations: 15.94 kB / 383.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1157, allocations: 8 kB / 383.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.1165, allocations: 355.8 kB / 383.5 MB, free: 6.73 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.002275/0.1188, allocations: 1.347 MB / 384.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.1197, allocations: 452.1 kB / 385.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.1201, allocations: 188.8 kB / 385.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1202, allocations: 8 kB / 385.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1202, allocations: 42.97 kB / 385.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.1202, allocations: 0 / 385.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001535/0.1218, allocations: 0.7354 MB / 386.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.122, allocations: 449 kB / 386.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.1225, allocations: 485.9 kB / 387.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1226, allocations: 33.7 kB / 387.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1228, allocations: 252.4 kB / 387.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1229, allocations: 122.2 kB / 387.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1231, allocations: 73.7 kB / 387.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1233, allocations: 354.8 kB / 388 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.1237, allocations: 147.9 kB / 388.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.1242, allocations: 299.4 kB / 388.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.125, allocations: 350.8 kB / 388.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.125, allocations: 0 / 388.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001063/0.1261, allocations: 491.7 kB / 389.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.1262, allocations: 41.62 kB / 389.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1262, allocations: 0 / 389.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.1264, allocations: 53.67 kB / 389.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.1268, allocations: 87.94 kB / 389.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.1296, allocations: 2.972 MB / 392.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.13, allocations: 51.66 kB / 392.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.1301, allocations: 16 kB / 392.5 MB, free: 13.06 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.0002392/0.1303, allocations: 169.8 kB / 392.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1304, allocations: 63.28 kB / 392.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1306, allocations: 56.92 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1306, allocations: 4 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1306, allocations: 3.938 kB / 392.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009768/0.1316, allocations: 0.7436 MB / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1333, allocations: 1.036 MB / 394.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1333, allocations: 3.938 kB / 394.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.1338, allocations: 95.88 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1338, allocations: 3.984 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1339, allocations: 8 kB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1339, allocations: 0 / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1339, allocations: 0 / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.1351, allocations: 0.6722 MB / 395.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.1354, allocations: 172.4 kB / 395.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.1355, allocations: 11.98 kB / 395.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.1358, allocations: 27.97 kB / 395.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.1359, allocations: 28.03 kB / 395.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1359, allocations: 8 kB / 395.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.1363, allocations: 338.9 kB / 395.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 0 / 395.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.1369, allocations: 143.8 kB / 396.1 MB, free: 9.281 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.0001505/0.137, allocations: 107.2 kB / 396.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.1383, allocations: 0.6487 MB / 396.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1383, allocations: 0 / 396.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.1387, allocations: 187.7 kB / 397 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.1394, allocations: 153.9 kB / 397.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1412, allocations: 0.9463 MB / 398.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1416, allocations: 0.8353 MB / 398.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.1419, allocations: 64.53 kB / 399 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.142, allocations: 47.38 kB / 399.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.142, allocations: 0 / 399.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Templates: time 0.01741/0.1594, allocations: 9.082 MB / 408.1 MB, free: 13.09 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)