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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001743/0.001743, allocations: 157.7 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.171/1.171, allocations: 170.6 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.4 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.638e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1934, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09254/0.2859, allocations: 70.58 MB / 371.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.2861, allocations: 71.95 kB / 371.6 MB, free: 9.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.3104, allocations: 9.65 MB / 381.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3104, allocations: 0 / 381.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.3105, allocations: 12 kB / 381.3 MB, free: 15.4 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001051/0.3115, allocations: 0.7421 MB / 382 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3116, allocations: 8.031 kB / 382 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3117, allocations: 63.34 kB / 382.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3122, allocations: 391.8 kB / 382.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.3123, allocations: 51.48 kB / 382.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.3123, allocations: 27.95 kB / 382.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004662/0.3128, allocations: 265.5 kB / 382.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.3134, allocations: 405.3 kB / 383.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3134, allocations: 0 / 383.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3134, allocations: 7.984 kB / 383.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3134, allocations: 8 kB / 383.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3153, allocations: 1.224 MB / 384.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.316, allocations: 422.6 kB / 384.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3162, allocations: 150.6 kB / 385 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3162, allocations: 4 kB / 385 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3163, allocations: 42.56 kB / 385.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 4.599e-06/0.3163, allocations: 3.984 kB / 385.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007005/0.317, allocations: 371.4 kB / 385.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.3172, allocations: 445 kB / 385.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.3175, allocations: 345.3 kB / 386.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3176, allocations: 29.69 kB / 386.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3177, allocations: 240.7 kB / 386.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.3178, allocations: 130.1 kB / 386.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.3179, allocations: 3.938 kB / 386.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.318, allocations: 358.8 kB / 386.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3182, allocations: 100 kB / 387 MB, free: 9.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3184, allocations: 241.3 kB / 387.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3186, allocations: 126.5 kB / 387.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3187, allocations: 0 / 387.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006259/0.3193, allocations: 394.6 kB / 387.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.3193, allocations: 33.69 kB / 387.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3193, allocations: 0 / 387.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.3196, allocations: 57.69 kB / 387.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.32, allocations: 95.91 kB / 388 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.3219, allocations: 2.626 MB / 390.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.3223, allocations: 55.77 kB / 390.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.3223, allocations: 12.23 kB / 390.7 MB, free: 5.324 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.3225, allocations: 131.8 kB / 390.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.3226, allocations: 51.44 kB / 390.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.3227, allocations: 44.91 kB / 390.9 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3227, allocations: 4 kB / 390.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3227, allocations: 0 / 390.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005431/0.3233, allocations: 0.6607 MB / 391.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3244, allocations: 0.8996 MB / 392.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3244, allocations: 4 kB / 392.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.3249, allocations: 99.88 kB / 392.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.325, allocations: 4 kB / 392.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.325, allocations: 3.984 kB / 392.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.325, allocations: 3.938 kB / 392.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.325, allocations: 1.406 kB / 392.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.3257, allocations: 0.5537 MB / 393.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.3258, allocations: 128.4 kB / 393.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.3259, allocations: 4 kB / 393.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.3262, allocations: 23.97 kB / 393.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.3263, allocations: 24.03 kB / 393.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3263, allocations: 19.98 kB / 393.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.3266, allocations: 267 kB / 393.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 3.938 kB / 393.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.327, allocations: 135.7 kB / 393.7 MB, free: 2.074 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.3272, allocations: 111.2 kB / 393.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.3279, allocations: 0.5574 MB / 394.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3279, allocations: 4 kB / 394.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3282, allocations: 144.5 kB / 394.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.3287, allocations: 111.6 kB / 394.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3299, allocations: 0.6511 MB / 395.3 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3302, allocations: 0.8352 MB / 396.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.3305, allocations: 56.16 kB / 396.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3306, allocations: 39.42 kB / 396.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3306, allocations: 0 / 396.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01127/0.3419, allocations: 6.743 MB / 402.9 MB, free: 8.809 MB / 314.7 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)