Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006314/0.006314, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001131/0.001131, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.425/1.425, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001246/0.001246, allocations: 54.86 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.61 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006947/0.1172, allocations: 3.74 MB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1201, allocations: 1.04 MB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.1205, allocations: 4 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.1211, allocations: 111 kB / 378.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.1217, allocations: 202.3 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1222, allocations: 139.8 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1232, allocations: 0.7003 MB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.1237, allocations: 210.8 kB / 379.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.1241, allocations: 267 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.1246, allocations: 314.6 kB / 379.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1247, allocations: 60 kB / 379.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1249, allocations: 60 kB / 380 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.125, allocations: 123.6 kB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.1254, allocations: 326.4 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.1263, allocations: 0.7124 MB / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1263, allocations: 0 / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1263, allocations: 0 / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1263, 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.002179/0.1285, allocations: 0.9169 MB / 382 MB, free: 8.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1286, allocations: 15.97 kB / 382.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1288, allocations: 76.17 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1298, allocations: 442.8 kB / 382.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.13, allocations: 63.27 kB / 382.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.1301, allocations: 28.38 kB / 382.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1313, allocations: 0.5021 MB / 383.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1313, allocations: 0 / 383.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.1314, allocations: 16 kB / 383.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1314, allocations: 8 kB / 383.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1325, allocations: 355.8 kB / 383.5 MB, free: 6.723 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.002901/0.1354, allocations: 1.339 MB / 384.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1365, allocations: 456 kB / 385.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.1369, allocations: 189.5 kB / 385.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.137, allocations: 8 kB / 385.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.137, allocations: 54.23 kB / 385.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.137, allocations: 4 kB / 385.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001681/0.1387, allocations: 0.7277 MB / 386.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.1389, allocations: 445 kB / 386.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.1395, allocations: 485.9 kB / 387.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.1396, allocations: 37.7 kB / 387.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1398, allocations: 244.4 kB / 387.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1399, allocations: 122.2 kB / 387.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.14, allocations: 77.69 kB / 387.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1402, allocations: 358.8 kB / 388 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.1406, allocations: 151.8 kB / 388.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1411, allocations: 286.4 kB / 388.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/0.1419, allocations: 354.8 kB / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1419, allocations: 0 / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/0.143, allocations: 495.7 kB / 389.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.143, allocations: 34.8 kB / 389.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.143, allocations: 7.969 kB / 389.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.1432, allocations: 49.62 kB / 389.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.1436, allocations: 87.88 kB / 389.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.1461, allocations: 2.969 MB / 392.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1465, allocations: 51.7 kB / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1466, allocations: 15.98 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.0002326/0.1468, allocations: 169.8 kB / 392.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.1469, allocations: 59.34 kB / 392.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.1471, allocations: 56.92 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1471, allocations: 4 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1471, allocations: 7.875 kB / 392.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009945/0.1481, allocations: 0.7397 MB / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.1498, allocations: 1.044 MB / 394.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1499, allocations: 7.938 kB / 394.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.1503, allocations: 91.88 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1503, allocations: 0 / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.1504, allocations: 8 kB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1504, allocations: 0 / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1504, allocations: 3.984 kB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1517, allocations: 0.6722 MB / 395.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.1519, allocations: 168.4 kB / 395.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.152, allocations: 12 kB / 395.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.1524, allocations: 28.03 kB / 395.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.1525, allocations: 23.97 kB / 395.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1525, allocations: 11.98 kB / 395.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.1529, allocations: 338.9 kB / 395.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1529, allocations: 0 / 395.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.1534, allocations: 151.7 kB / 396.1 MB, free: 9.27 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.0001329/0.1535, allocations: 99.25 kB / 396.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1548, allocations: 0.6564 MB / 396.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1548, allocations: 0 / 396.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.1553, allocations: 183.8 kB / 397 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.1561, allocations: 153.7 kB / 397.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1578, allocations: 0.9503 MB / 398.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1582, allocations: 0.8353 MB / 398.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.1584, allocations: 68.53 kB / 399 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1585, allocations: 47.42 kB / 399.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.557e-06/0.1586, allocations: 0 / 399.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Templates: time 0.01551/0.1741, allocations: 9.074 MB / 408.1 MB, free: 13.08 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)