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.001544/0.001544, allocations: 102 kB / 16.62 MB, free: 6.809 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.001741/0.001741, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.546/1.546, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001252/0.001252, allocations: 51.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 46.62 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005347/0.1144, allocations: 3.778 MB / 329.9 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1164, allocations: 1.018 MB / 330.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.1167, allocations: 11.94 kB / 330.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1171, allocations: 87.42 kB / 331 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1176, allocations: 174.6 kB / 331.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1179, allocations: 131.8 kB / 331.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007349/0.1186, allocations: 0.6964 MB / 332 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.119, allocations: 210.7 kB / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1193, allocations: 266.9 kB / 332.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1196, allocations: 302.7 kB / 332.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.1197, allocations: 60 kB / 332.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.1198, allocations: 60 kB / 332.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.1199, allocations: 131.5 kB / 333 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.1202, allocations: 326.4 kB / 333.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.1209, allocations: 0.7008 MB / 334 MB, free: 12.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1209, allocations: 0 / 334 MB, free: 12.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1209, allocations: 4 kB / 334.1 MB, free: 12.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1209, allocations: 0 / 334.1 MB, free: 12.83 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.001574/0.1225, allocations: 0.9169 MB / 335 MB, free: 11.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1226, allocations: 8.031 kB / 335 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1227, allocations: 72.19 kB / 335 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.1234, allocations: 434.8 kB / 335.5 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.1237, allocations: 91.16 kB / 335.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/0.1237, allocations: 32.38 kB / 335.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.1247, allocations: 0.5177 MB / 336.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1248, allocations: 4 kB / 336.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.1248, allocations: 16 kB / 336.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1248, allocations: 8 kB / 336.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.1258, allocations: 375.7 kB / 336.5 MB, free: 10.22 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.002136/0.1279, allocations: 1.359 MB / 337.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.1288, allocations: 471.5 kB / 338.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.1293, allocations: 201.5 kB / 338.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1293, allocations: 12 kB / 338.5 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1294, allocations: 46.5 kB / 338.6 MB, free: 8.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.562e-06/0.1294, allocations: 0 / 338.6 MB, free: 8.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001708/0.1311, allocations: 0.7814 MB / 339.4 MB, free: 7.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.1314, allocations: 445 kB / 339.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.132, allocations: 482 kB / 340.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.132, allocations: 33.7 kB / 340.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.1323, allocations: 248.4 kB / 340.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1324, allocations: 122.1 kB / 340.7 MB, free: 5.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1326, allocations: 81.64 kB / 340.7 MB, free: 5.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1328, allocations: 362.8 kB / 341.1 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.1332, allocations: 159.8 kB / 341.2 MB, free: 5.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.1337, allocations: 310.2 kB / 341.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.1345, allocations: 371 kB / 341.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1345, allocations: 0 / 341.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001118/0.1357, allocations: 0.5152 MB / 342.4 MB, free: 3.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.1357, allocations: 37.69 kB / 342.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1357, allocations: 0 / 342.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.1359, allocations: 53.67 kB / 342.5 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.1364, allocations: 95.86 kB / 342.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.1388, allocations: 2.961 MB / 345.6 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.1393, allocations: 67.59 kB / 345.6 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.1394, allocations: 11.94 kB / 345.6 MB, free: 380 kB / 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.0003438/0.1397, allocations: 173.8 kB / 345.8 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.1399, allocations: 51.44 kB / 345.9 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.14, allocations: 56.92 kB / 345.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1401, allocations: 4 kB / 345.9 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.1401, allocations: 3.938 kB / 345.9 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/0.1417, allocations: 0.7746 MB / 346.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.1438, allocations: 1.063 MB / 347.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1438, allocations: 11.94 kB / 347.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.1443, allocations: 95.88 kB / 347.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1443, allocations: 4 kB / 347.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1443, allocations: 7.984 kB / 347.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1443, allocations: 0 / 347.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1443, allocations: 4 kB / 347.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1457, allocations: 0.7062 MB / 348.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.1459, allocations: 176.5 kB / 348.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.146, allocations: 11.98 kB / 348.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.1464, allocations: 40.03 kB / 348.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.1465, allocations: 27.95 kB / 348.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1465, allocations: 15.98 kB / 348.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003866/0.1469, allocations: 334.9 kB / 349.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.1469, allocations: 0 / 349.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.1474, allocations: 143.8 kB / 349.3 MB, free: 12.48 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.0001303/0.1475, allocations: 107.2 kB / 349.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1488, allocations: 0.6992 MB / 350.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1489, allocations: 0 / 350.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.1494, allocations: 207.6 kB / 350.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1505, allocations: 145.8 kB / 350.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.153, allocations: 1.118 MB / 351.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1535, allocations: 0.8431 MB / 352.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.1539, allocations: 64.53 kB / 352.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1541, allocations: 47.44 kB / 352.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1541, allocations: 0 / 352.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Templates: time 0.02355/0.1777, allocations: 8.83 MB / 361.4 MB, free: 328 kB / 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)