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.007822/0.007822, allocations: 102.7 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.001374/0.001374, allocations: 190.1 kB / 16.67 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.49/1.49, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001185/0.001185, allocations: 50.45 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.0871, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005451/0.09261, allocations: 3.744 MB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.09482, allocations: 1.036 MB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.09523, allocations: 7.938 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.09567, allocations: 115 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.09623, allocations: 202.3 kB / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.09657, allocations: 139.8 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000828/0.09741, allocations: 0.7041 MB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.09774, allocations: 210.8 kB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.0981, allocations: 271 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.09853, allocations: 306.6 kB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-05/0.09864, allocations: 60 kB / 379.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.09875, allocations: 60 kB / 380 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.09886, allocations: 127.6 kB / 380.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.09916, allocations: 326.4 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.09985, allocations: 0.7124 MB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09986, allocations: 0 / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.09987, allocations: 0 / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.09989, allocations: 3.938 kB / 381.1 MB, free: 9.289 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.001688/0.1016, allocations: 0.9131 MB / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1016, allocations: 8.031 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.1018, allocations: 68.19 kB / 382.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.1026, allocations: 442.7 kB / 382.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1027, allocations: 71.25 kB / 382.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1028, allocations: 36.38 kB / 382.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.1037, allocations: 0.4944 MB / 383.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1037, allocations: 0 / 383.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.1037, allocations: 20 kB / 383.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1038, allocations: 8 kB / 383.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1048, allocations: 359.7 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.002237/0.1071, allocations: 1.343 MB / 384.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.108, allocations: 452.2 kB / 385.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.1085, allocations: 192.8 kB / 385.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.1086, allocations: 11.97 kB / 385.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.1086, allocations: 42.88 kB / 385.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.886e-06/0.1086, allocations: 4 kB / 385.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001856/0.1105, allocations: 0.7316 MB / 386.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/0.1107, allocations: 448.9 kB / 386.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.1114, allocations: 485.9 kB / 387.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.1115, allocations: 33.7 kB / 387.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.1117, allocations: 244.4 kB / 387.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1118, allocations: 126.2 kB / 387.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.112, allocations: 77.69 kB / 387.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1121, allocations: 358.8 kB / 388 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.1125, allocations: 139.9 kB / 388.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.1131, allocations: 302.3 kB / 388.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.1139, allocations: 346.8 kB / 388.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.1139, allocations: 0 / 388.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00113/0.115, allocations: 499.6 kB / 389.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.1151, allocations: 37.73 kB / 389.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1151, allocations: 0 / 389.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.1153, allocations: 57.62 kB / 389.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.1158, allocations: 83.94 kB / 389.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.1184, allocations: 2.957 MB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.119, allocations: 59.7 kB / 392.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.119, allocations: 12 kB / 392.5 MB, free: 13.07 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.0002496/0.1193, allocations: 173.8 kB / 392.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1194, allocations: 59.56 kB / 392.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1195, allocations: 52.94 kB / 392.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1195, allocations: 7.984 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1195, allocations: 3.938 kB / 392.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/0.1206, allocations: 0.7475 MB / 393.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1225, allocations: 1.036 MB / 394.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.1225, allocations: 7.938 kB / 394.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.1229, allocations: 91.88 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.123, allocations: 0 / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.123, allocations: 8 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.123, allocations: 0 / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.123, allocations: 0 / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1243, allocations: 0.6761 MB / 395.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.1246, allocations: 172.4 kB / 395.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.1246, allocations: 11.94 kB / 395.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.125, allocations: 32.03 kB / 395.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.1251, allocations: 23.97 kB / 395.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1252, allocations: 8 kB / 395.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.1255, allocations: 338.9 kB / 395.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 395.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.126, allocations: 143.8 kB / 396.1 MB, free: 9.285 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.0001298/0.1262, allocations: 107.2 kB / 396.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1274, allocations: 0.6487 MB / 396.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1274, allocations: 3.938 kB / 396.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.1279, allocations: 187.8 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.0006693/0.1286, allocations: 141.8 kB / 397.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1303, allocations: 0.958 MB / 398.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.1308, allocations: 0.8315 MB / 398.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.1311, allocations: 72.52 kB / 399 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1312, allocations: 39.44 kB / 399 MB, free: 6.195 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1312, allocations: 0 / 399 MB, free: 6.195 MB / 334.1 MB Notification: Performance of Templates: time 0.01786/0.1491, allocations: 9.335 MB / 408.4 MB, free: 12.84 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)