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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002673/0.002673, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.199/1.199, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001715/0.001715, allocations: 128.4 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06762/0.06764, allocations: 38.77 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.291, allocations: 70.5 MB / 371 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.2913, allocations: 73.39 kB / 371.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02794/0.3192, allocations: 9.464 MB / 380.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.3193, allocations: 8 kB / 380.5 MB, free: 6.172 MB / 266.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.001428/0.3207, allocations: 0.743 MB / 381.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.3208, allocations: 12.03 kB / 381.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3209, allocations: 63.25 kB / 381.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.3217, allocations: 385.5 kB / 381.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3218, allocations: 58.38 kB / 381.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.3219, allocations: 20 kB / 381.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005728/0.3225, allocations: 268 kB / 382.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.3232, allocations: 407.2 kB / 382.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3232, allocations: 0 / 382.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3232, allocations: 7.984 kB / 382.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3233, allocations: 8 kB / 382.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.3256, allocations: 1.249 MB / 383.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008359/0.3265, allocations: 406.7 kB / 384.1 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3267, allocations: 145.2 kB / 384.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.3268, allocations: 11.92 kB / 384.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3269, allocations: 49.94 kB / 384.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/0.3269, allocations: 0 / 384.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009169/0.3278, allocations: 358.2 kB / 384.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002939/0.3281, allocations: 452.7 kB / 385.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.3286, allocations: 343.2 kB / 385.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3286, allocations: 25.7 kB / 385.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3287, allocations: 183.6 kB / 385.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3289, allocations: 124.3 kB / 385.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.3289, allocations: 0 / 385.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3291, allocations: 361.1 kB / 386.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3293, allocations: 103.3 kB / 386.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3296, allocations: 236.8 kB / 386.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.3298, allocations: 129.7 kB / 386.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3298, allocations: 4 kB / 386.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006737/0.3305, allocations: 391.3 kB / 387 MB, free: 472 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3305, allocations: 7.906 kB / 387 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3305, allocations: 3.906 kB / 387 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.3308, allocations: 51.94 kB / 387.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3313, allocations: 103.7 kB / 387.2 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.3338, allocations: 2.611 MB / 389.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.3342, allocations: 63.58 kB / 389.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.3343, allocations: 8 kB / 389.8 MB, free: 13.53 MB / 282.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.0002245/0.3345, allocations: 122.4 kB / 390 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.3346, allocations: 47.44 kB / 390 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3347, allocations: 47.41 kB / 390 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3348, allocations: 4 kB / 390 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3348, allocations: 0 / 390 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006868/0.3355, allocations: 0.6606 MB / 390.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3369, allocations: 0.9047 MB / 391.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.337, allocations: 7.969 kB / 391.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3375, allocations: 103.6 kB / 391.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3375, allocations: 0 / 391.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.3376, allocations: 4 kB / 391.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3376, allocations: 3.938 kB / 391.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3376, allocations: 3.938 kB / 391.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007604/0.3383, allocations: 0.5627 MB / 392.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3385, allocations: 132.1 kB / 392.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.3386, allocations: 0 / 392.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3389, allocations: 32.03 kB / 392.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.339, allocations: 23.66 kB / 392.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3391, allocations: 11.94 kB / 392.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003192/0.3394, allocations: 268.7 kB / 392.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005128/0.3399, allocations: 131.7 kB / 392.9 MB, free: 10.83 MB / 282.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.0002407/0.3402, allocations: 111.2 kB / 393 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.3411, allocations: 0.5237 MB / 393.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3411, allocations: 3.938 kB / 393.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.3413, allocations: 146.3 kB / 393.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.3419, allocations: 93.28 kB / 393.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3437, allocations: 0.658 MB / 394.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/0.3445, allocations: 0.8928 MB / 395.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3445, allocations: 0 / 395.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of Templates: time 0.01536/0.3599, allocations: 7.091 MB / 402.4 MB, free: 1.469 MB / 282.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)