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.006485/0.006485, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001208/0.001208, allocations: 195.3 kB / 16.68 MB, free: 6.352 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001153/0.001153, allocations: 56.67 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09587, allocations: 46.61 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004985/0.1009, allocations: 3.752 MB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1027, allocations: 1.033 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.103, allocations: 11.94 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.1034, allocations: 107.1 kB / 378.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.1039, allocations: 198.3 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1042, allocations: 147.8 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.105, allocations: 0.7042 MB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1053, allocations: 206.8 kB / 379.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.1056, allocations: 271 kB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.106, allocations: 306.6 kB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.518e-05/0.1061, allocations: 60 kB / 379.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1062, allocations: 60 kB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1063, allocations: 131.6 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.1066, allocations: 318.5 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.1075, allocations: 0.7159 MB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1075, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1075, allocations: 7.938 kB / 381.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1076, allocations: 0 / 381.1 MB, free: 9.297 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.001628/0.1092, allocations: 0.9361 MB / 382.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1093, allocations: 15.97 kB / 382.1 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1094, allocations: 72.52 kB / 382.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.1102, allocations: 443.1 kB / 382.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1104, allocations: 63.25 kB / 382.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.1104, allocations: 40.38 kB / 382.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.1114, allocations: 0.4944 MB / 383.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.1115, allocations: 3.938 kB / 383.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.1115, allocations: 16 kB / 383.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1116, allocations: 8 kB / 383.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.1124, allocations: 351.8 kB / 383.6 MB, free: 6.715 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.00213/0.1145, allocations: 1.347 MB / 384.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.1155, allocations: 452.1 kB / 385.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.1159, allocations: 188.8 kB / 385.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.1159, allocations: 8 kB / 385.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.116, allocations: 42.97 kB / 385.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.993e-06/0.116, allocations: 0 / 385.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001787/0.1178, allocations: 0.7396 MB / 386.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.1181, allocations: 449 kB / 386.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.1186, allocations: 482 kB / 387.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.1187, allocations: 33.7 kB / 387.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1189, allocations: 252.6 kB / 387.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.1191, allocations: 130.8 kB / 387.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1192, allocations: 81.64 kB / 387.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1193, allocations: 362.8 kB / 388.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.1197, allocations: 143.9 kB / 388.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1202, allocations: 290.4 kB / 388.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.1209, allocations: 346.8 kB / 388.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.121, allocations: 7.938 kB / 388.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009945/0.122, allocations: 499.9 kB / 389.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.122, allocations: 37.7 kB / 389.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.122, allocations: 0 / 389.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.1223, allocations: 49.67 kB / 389.4 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.1227, allocations: 87.88 kB / 389.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.1255, allocations: 2.965 MB / 392.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.126, allocations: 51.75 kB / 392.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.126, allocations: 16 kB / 392.5 MB, free: 13.04 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.0002489/0.1263, allocations: 169.8 kB / 392.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.1264, allocations: 55.67 kB / 392.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1265, allocations: 60.92 kB / 392.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1265, allocations: 4 kB / 392.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.1265, allocations: 3.938 kB / 392.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.1276, allocations: 0.7475 MB / 393.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.1292, allocations: 1.04 MB / 394.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1292, allocations: 0 / 394.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.1296, allocations: 99.8 kB / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1297, allocations: 0 / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1297, allocations: 8 kB / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1297, allocations: 0 / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1297, allocations: 0 / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1311, allocations: 0.6764 MB / 395.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.1313, allocations: 180.8 kB / 395.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.1314, allocations: 12 kB / 395.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.1317, allocations: 23.97 kB / 395.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.1318, allocations: 27.95 kB / 395.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1318, allocations: 16.06 kB / 395.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003559/0.1322, allocations: 334.9 kB / 396 MB, free: 9.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1322, allocations: 0 / 396 MB, free: 9.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.1327, allocations: 139.9 kB / 396.1 MB, free: 9.246 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.0001212/0.1328, allocations: 111.2 kB / 396.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.134, allocations: 0.6563 MB / 396.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.134, allocations: 7.938 kB / 396.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.1344, allocations: 179.8 kB / 397.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.1351, allocations: 146 kB / 397.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1367, allocations: 0.9607 MB / 398.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1371, allocations: 0.8392 MB / 399 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.1373, allocations: 60.53 kB / 399.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1374, allocations: 47.44 kB / 399.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1374, allocations: 4 kB / 399.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of Templates: time 0.01469/0.1521, allocations: 9.07 MB / 408.2 MB, free: 13.04 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)