Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Annex60.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp") [: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/Annex60 1.0.0/package.mo): time 0.2882/0.2882, allocations: 54.39 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001295/0.001294, allocations: 190.6 kB / 75.38 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.753/1.753, allocations: 194.2 MB / 283.2 MB, free: 3.543 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001787/0.001787, allocations: 103.4 kB / 341.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 0 / 404.9 MB, free: 27.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 57.65 MB / 462.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.891/5.031, allocations: 2.169 GB / 2.621 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/5.031, allocations: 87.95 kB / 2.621 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.47/10.5, allocations: 1.448 GB / 4.069 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006434/10.5, allocations: 57.06 kB / 4.069 GB, free: 54.84 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.0131/10.51, allocations: 2.538 MB / 4.072 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/10.51, allocations: 14.09 kB / 4.072 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/10.53, allocations: 0.9656 MB / 4.073 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/10.54, allocations: 2.735 MB / 4.075 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/10.54, allocations: 47.06 kB / 4.075 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/10.54, allocations: 87.72 kB / 4.075 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003908/10.55, allocations: 1.3 MB / 4.077 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/10.55, allocations: 1.462 MB / 4.078 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/10.55, allocations: 0 / 4.078 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/10.55, allocations: 9.578 kB / 4.078 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/10.55, allocations: 51.12 kB / 4.078 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/10.57, allocations: 7.565 MB / 4.086 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/10.57, allocations: 0.9303 MB / 4.086 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/10.57, allocations: 0.5248 MB / 4.087 GB, free: 49.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/10.57, allocations: 190.9 kB / 4.087 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/10.57, allocations: 41.78 kB / 4.087 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 4.929e-06/10.57, allocations: 1.031 kB / 4.087 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.007328/10.58, allocations: 1.259 MB / 4.088 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/10.58, allocations: 62.03 kB / 4.088 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/10.58, allocations: 1.318 MB / 4.09 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004399/10.58, allocations: 25.7 kB / 4.09 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/10.58, allocations: 0.653 MB / 4.09 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/10.58, allocations: 266.2 kB / 4.091 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/10.58, allocations: 2.734 kB / 4.091 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000143/10.58, allocations: 351.3 kB / 4.091 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/10.58, allocations: 375.8 kB / 4.091 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/10.59, allocations: 0.7811 MB / 4.092 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/10.59, allocations: 0.5219 MB / 4.093 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/10.59, allocations: 6.188 kB / 4.093 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006034/10.59, allocations: 1.468 MB / 4.094 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009847/10.59, allocations: 4.017 MB / 4.098 GB, free: 42.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/10.59, allocations: 10.88 kB / 4.098 GB, free: 42.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/10.6, allocations: 161.8 kB / 4.098 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/10.6, allocations: 408.9 kB / 4.099 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/10.6, allocations: 3.45 MB / 4.102 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/10.61, allocations: 189.1 kB / 4.102 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/10.61, allocations: 59.64 kB / 4.102 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/10.61, allocations: 3.469 kB / 4.102 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004655/10.61, allocations: 1.181 MB / 4.103 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/10.61, allocations: 6.969 kB / 4.103 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/10.61, allocations: 133.5 kB / 4.103 GB, free: 39.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/10.62, allocations: 251.5 kB / 4.104 GB, free: 39.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/10.62, allocations: 3.03 MB / 4.107 GB, free: 37.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/10.62, allocations: 141.2 kB / 4.107 GB, free: 37.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/10.62, allocations: 58.03 kB / 4.107 GB, free: 37.35 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/10.62, allocations: 142.9 kB / 4.107 GB, free: 37.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/10.63, allocations: 185.9 kB / 4.107 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005194/10.63, allocations: 1.171 MB / 4.108 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/10.63, allocations: 9.188 kB / 4.108 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/10.63, allocations: 0 / 4.108 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003749/10.63, allocations: 0.9956 MB / 4.109 GB, free: 36.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/10.64, allocations: 2.396 MB / 4.112 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/10.64, allocations: 3.562 kB / 4.112 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/10.65, allocations: 345.2 kB / 4.112 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/10.65, allocations: 138.3 kB / 4.112 GB, free: 36.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/10.65, allocations: 14.41 kB / 4.112 GB, free: 36.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008238/10.65, allocations: 5.679 MB / 4.118 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/10.65, allocations: 0 / 4.118 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005835/10.66, allocations: 1.695 MB / 4.119 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/10.66, allocations: 361.1 kB / 4.12 GB, free: 31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/10.66, allocations: 0 / 4.12 GB, free: 31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/10.66, allocations: 113.6 kB / 4.12 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/10.66, allocations: 40.39 kB / 4.12 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/10.66, allocations: 41.19 kB / 4.12 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002259/10.67, allocations: 0.9999 MB / 4.121 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006891/10.67, allocations: 1.293 MB / 4.122 GB, free: 30.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008205/10.68, allocations: 4.371 MB / 4.126 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008564/10.69, allocations: 2.083 MB / 4.128 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/10.69, allocations: 1.938 kB / 4.128 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005875/10.7, allocations: 0.936 MB / 4.129 GB, free: 28.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/10.7, allocations: 0.8456 MB / 4.13 GB, free: 28.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/10.71, allocations: 2.761 MB / 4.133 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/10.72, allocations: 1.781 MB / 4.135 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/10.72, allocations: 0 / 4.135 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.1123/10.83, allocations: 61.01 MB / 4.194 GB, free: 22.92 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)