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.001222/0.001222, allocations: 111 kB / 17.06 MB, free: 5.965 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.002159/0.002159, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.429/1.429, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001107/0.001107, allocations: 47.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09072, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004724/0.0955, allocations: 3.747 MB / 378.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2103/0.3058, allocations: 1.036 MB / 379.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.3062, allocations: 8.156 kB / 379.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.3067, allocations: 114.4 kB / 379.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.3071, allocations: 199.3 kB / 379.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.3075, allocations: 134.4 kB / 379.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.3082, allocations: 0.7134 MB / 380.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.3086, allocations: 205.2 kB / 380.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.3089, allocations: 265 kB / 380.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.3093, allocations: 309.5 kB / 381.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3095, allocations: 58.97 kB / 381.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3096, allocations: 60.31 kB / 381.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3098, allocations: 131.9 kB / 381.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.3102, allocations: 316.4 kB / 381.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.311, allocations: 0.7195 MB / 382.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.311, allocations: 1.344 kB / 382.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.311, allocations: 0.5625 kB / 382.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.311, allocations: 1.219 kB / 382.4 MB, free: 9.18 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.001443/0.3125, allocations: 0.9258 MB / 383.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3125, allocations: 10.47 kB / 383.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3126, allocations: 66.34 kB / 383.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.3134, allocations: 438.1 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.3135, allocations: 57.5 kB / 383.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.3135, allocations: 33.84 kB / 384 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.3144, allocations: 0.5094 MB / 384.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3144, allocations: 0.75 kB / 384.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.3145, allocations: 16.72 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3145, allocations: 7.844 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009144/0.3154, allocations: 352.3 kB / 384.8 MB, free: 7.82 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.002243/0.3177, allocations: 1.34 MB / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.3186, allocations: 450.3 kB / 386.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.319, allocations: 200.1 kB / 386.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.319, allocations: 8.562 kB / 386.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3191, allocations: 39.66 kB / 386.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.3191, allocations: 0 / 386.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001587/0.3207, allocations: 0.7411 MB / 387.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3208, allocations: 444.7 kB / 388 MB, free: 5.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.3214, allocations: 489.1 kB / 388.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3214, allocations: 33.98 kB / 388.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.3216, allocations: 241.4 kB / 388.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3217, allocations: 127.4 kB / 388.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3219, allocations: 81.48 kB / 389 MB, free: 5.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.322, allocations: 366.5 kB / 389.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.3224, allocations: 140.1 kB / 389.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.3229, allocations: 305.5 kB / 389.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.3237, allocations: 346.7 kB / 390.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3237, allocations: 0 / 390.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001044/0.3248, allocations: 0.49 MB / 390.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.3248, allocations: 32.2 kB / 390.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3248, allocations: 1.656 kB / 390.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.325, allocations: 47.11 kB / 390.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.3255, allocations: 92.22 kB / 390.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3274, allocations: 2.963 MB / 393.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.3279, allocations: 48.86 kB / 393.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.328, allocations: 14.83 kB / 393.8 MB, free: 1.035 MB / 318.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.0002131/0.3282, allocations: 169.3 kB / 394 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.3283, allocations: 60.23 kB / 394 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3284, allocations: 56.2 kB / 394.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3284, allocations: 5.266 kB / 394.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3284, allocations: 6.234 kB / 394.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008761/0.3293, allocations: 0.7365 MB / 394.8 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.3312, allocations: 1.046 MB / 395.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3312, allocations: 0 / 395.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.3317, allocations: 101 kB / 396 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3317, allocations: 5.5 kB / 396 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3317, allocations: 6.844 kB / 396 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3317, allocations: 1.812 kB / 396 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3317, allocations: 1.156 kB / 396 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3331, allocations: 0.6724 MB / 396.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.3334, allocations: 171.9 kB / 396.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.3335, allocations: 9.281 kB / 396.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.3339, allocations: 30.56 kB / 396.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.334, allocations: 30.64 kB / 396.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.334, allocations: 7.547 kB / 396.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004763/0.3345, allocations: 344.9 kB / 397.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3345, allocations: 1.312 kB / 397.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005676/0.3351, allocations: 146.1 kB / 397.4 MB, free: 14.84 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.0001739/0.3353, allocations: 106 kB / 397.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.3369, allocations: 0.6508 MB / 398.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3369, allocations: 1.125 kB / 398.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.3374, allocations: 183.1 kB / 398.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.3382, allocations: 141.7 kB / 398.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3404, allocations: 0.9623 MB / 399.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.3408, allocations: 0.8352 MB / 400.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.3411, allocations: 61.16 kB / 400.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3413, allocations: 43.45 kB / 400.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3413, allocations: 0 / 400.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.01884/0.3601, allocations: 9.333 MB / 409.7 MB, free: 9.07 MB / 334.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)