Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008256/0.008256, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001835/0.001836, allocations: 198.1 kB / 16.68 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.467/1.467, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001129/0.001129, allocations: 54.83 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09596, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006726/0.1027, allocations: 5.18 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1057, allocations: 1.375 MB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.1066, allocations: 15.94 kB / 379.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.1073, allocations: 166.5 kB / 379.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1085, allocations: 345.1 kB / 380.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.1093, allocations: 243.6 kB / 380.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.111, allocations: 1.219 MB / 381.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.1116, allocations: 350.1 kB / 382 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.1123, allocations: 474.3 kB / 382.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.1132, allocations: 0.533 MB / 383 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.1135, allocations: 108 kB / 383.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1138, allocations: 115.9 kB / 383.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.114, allocations: 239.2 kB / 383.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000752/0.1148, allocations: 0.5405 MB / 384 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.1164, allocations: 1.242 MB / 385.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1164, allocations: 3.938 kB / 385.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1164, allocations: 0 / 385.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.974e-05/0.1165, allocations: 4 kB / 385.3 MB, free: 5.125 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003578/0.1201, allocations: 1.383 MB / 386.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1201, allocations: 12.03 kB / 386.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.1205, allocations: 111.7 kB / 386.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.1221, allocations: 0.5949 MB / 387.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.1223, allocations: 147 kB / 387.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1225, allocations: 64.28 kB / 387.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.1242, allocations: 0.8861 MB / 388.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1243, allocations: 4 kB / 388.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/0.1243, allocations: 28 kB / 388.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1244, allocations: 12 kB / 388.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.1258, allocations: 0.6297 MB / 389.1 MB, free: 1.027 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.003948/0.1298, allocations: 2.174 MB / 391.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.1315, allocations: 1.008 MB / 392.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/0.1324, allocations: 415.3 kB / 392.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.1325, allocations: 16.62 kB / 392.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1325, allocations: 47.22 kB / 392.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.495e-06/0.1325, allocations: 0 / 392.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005079/0.1376, allocations: 1.836 MB / 394.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000359/0.138, allocations: 0.8272 MB / 395.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.1389, allocations: 0.6647 MB / 396.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.139, allocations: 45.7 kB / 396.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.1393, allocations: 349 kB / 396.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.1395, allocations: 276 kB / 396.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.1397, allocations: 142.7 kB / 396.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1399, allocations: 337.9 kB / 397.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.1406, allocations: 283.7 kB / 397.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009151/0.1415, allocations: 0.5624 MB / 398.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.1429, allocations: 0.7013 MB / 398.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1429, allocations: 0 / 398.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002731/0.1457, allocations: 1.125 MB / 399.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.1458, allocations: 89.09 kB / 400 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1458, allocations: 0 / 400 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.1465, allocations: 231.3 kB / 400.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.1472, allocations: 143.8 kB / 400.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008424/0.1556, allocations: 6.943 MB / 407.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1566, allocations: 103.3 kB / 407.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.1567, allocations: 24 kB / 407.4 MB, free: 13.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004272/0.1572, allocations: 229.7 kB / 407.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.1574, allocations: 94.91 kB / 407.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.1576, allocations: 96.52 kB / 407.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1576, allocations: 8 kB / 407.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1576, allocations: 0 / 407.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/0.1602, allocations: 1.268 MB / 409.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.1643, allocations: 1.978 MB / 411.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1644, allocations: 0 / 411.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.1651, allocations: 147.8 kB / 411.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.1656, allocations: 202.5 kB / 411.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.1657, allocations: 16 kB / 411.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.1723, allocations: 5.334 MB / 416.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1723, allocations: 4.031 kB / 416.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.1758, allocations: 1.43 MB / 418.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.1763, allocations: 251.8 kB / 418.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.1765, allocations: 12 kB / 418.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.1773, allocations: 59.88 kB / 418.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.1775, allocations: 68.75 kB / 418.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.1775, allocations: 23.94 kB / 418.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000681/0.1782, allocations: 475 kB / 419.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1782, allocations: 0 / 419.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009472/0.1792, allocations: 287.7 kB / 419.4 MB, free: 0.8555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.1794, allocations: 139.1 kB / 419.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.1821, allocations: 1.387 MB / 420.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1821, allocations: 7.938 kB / 420.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.1836, allocations: 0.7847 MB / 421.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.1848, allocations: 230.9 kB / 421.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1881, allocations: 1.662 MB / 423.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.1888, allocations: 0.952 MB / 424.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.1893, allocations: 106.7 kB / 424.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.1895, allocations: 63.44 kB / 424.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1895, allocations: 0 / 424.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.03134/0.2209, allocations: 18.87 MB / 443.6 MB, free: 8.438 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)