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.007469/0.007469, allocations: 109.8 kB / 15.74 MB, free: 6.449 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.00147/0.00147, allocations: 196 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.552/1.552, allocations: 205.1 MB / 222.5 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.001172/0.001172, allocations: 53.98 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08795, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004857/0.09285, allocations: 3.732 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.09476, allocations: 1.04 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.09496, allocations: 7.938 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.09528, allocations: 111 kB / 378.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.09566, allocations: 198.3 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.09597, allocations: 139.8 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.0967, allocations: 0.712 MB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.09702, allocations: 210.8 kB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.09728, allocations: 267 kB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.09759, allocations: 310.6 kB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.09768, allocations: 60 kB / 379.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.09777, allocations: 60 kB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.09787, allocations: 123.6 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.09815, allocations: 322.5 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.09877, allocations: 0.7163 MB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09878, allocations: 4 kB / 381.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09879, allocations: 0 / 381.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.09881, allocations: 0 / 381.1 MB, free: 9.301 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.001516/0.1003, allocations: 0.9169 MB / 382.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1004, allocations: 15.97 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1005, allocations: 64.19 kB / 382.1 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.1012, allocations: 442.7 kB / 382.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.1013, allocations: 67.25 kB / 382.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.1013, allocations: 32.38 kB / 382.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.1022, allocations: 0.4983 MB / 383.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1022, allocations: 0 / 383.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.1022, allocations: 16 kB / 383.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1023, allocations: 11.94 kB / 383.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.1031, allocations: 359.8 kB / 383.5 MB, free: 6.738 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.001951/0.105, allocations: 1.343 MB / 384.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.1059, allocations: 452.1 kB / 385.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.1063, allocations: 192.8 kB / 385.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1064, allocations: 4 kB / 385.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1064, allocations: 42.88 kB / 385.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.1064, allocations: 4 kB / 385.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001623/0.108, allocations: 0.7316 MB / 386.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002275/0.1083, allocations: 452.9 kB / 386.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.1088, allocations: 485.9 kB / 387.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.1089, allocations: 33.7 kB / 387.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1091, allocations: 240.4 kB / 387.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.1092, allocations: 126.2 kB / 387.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1093, allocations: 77.69 kB / 387.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1095, allocations: 358.8 kB / 388 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.1099, allocations: 151.9 kB / 388.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.1104, allocations: 290.3 kB / 388.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.1112, allocations: 354.8 kB / 388.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1112, allocations: 0 / 388.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00101/0.1122, allocations: 491.7 kB / 389.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.1122, allocations: 29.7 kB / 389.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1122, allocations: 7.938 kB / 389.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.1124, allocations: 57.66 kB / 389.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.1128, allocations: 83.94 kB / 389.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.1154, allocations: 2.968 MB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.1159, allocations: 47.7 kB / 392.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.116, allocations: 15.98 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.0003088/0.1163, allocations: 173.8 kB / 392.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1164, allocations: 55.34 kB / 392.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1165, allocations: 52.94 kB / 392.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1165, allocations: 7.984 kB / 392.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1165, allocations: 11.88 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.1177, allocations: 0.7397 MB / 393.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1193, allocations: 1.04 MB / 394.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1193, allocations: 7.938 kB / 394.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.1198, allocations: 95.88 kB / 394.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1198, allocations: 3.984 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1198, allocations: 4 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1199, allocations: 4 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1199, allocations: 0 / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.1211, allocations: 0.6761 MB / 395.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.1214, allocations: 168.4 kB / 395.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.1214, allocations: 8 kB / 395.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.1218, allocations: 31.97 kB / 395.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.1219, allocations: 28.03 kB / 395.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1219, allocations: 7.984 kB / 395.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.1223, allocations: 342.9 kB / 395.9 MB, free: 9.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1223, allocations: 0 / 395.9 MB, free: 9.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.1227, allocations: 143.8 kB / 396.1 MB, free: 9.289 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.0001199/0.1228, allocations: 107.2 kB / 396.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.124, allocations: 0.6487 MB / 396.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.124, allocations: 0 / 396.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.1245, allocations: 183.8 kB / 397 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.1251, allocations: 153.8 kB / 397.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1267, allocations: 0.9502 MB / 398.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1271, allocations: 0.8354 MB / 398.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.1273, allocations: 60.53 kB / 399 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1274, allocations: 47.44 kB / 399 MB, free: 6.203 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1274, allocations: 0 / 399 MB, free: 6.203 MB / 334.1 MB Notification: Performance of Templates: time 0.01636/0.1438, allocations: 9.078 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)