Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [: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.3019/0.3019, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001519/0.001519, allocations: 183.8 kB / 75.38 MB, free: 1.473 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.619/1.619, allocations: 194.2 MB / 283.2 MB, free: 3.516 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.001858/0.001858, allocations: 116.1 kB / 341.3 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.786e-06, allocations: 4 kB / 405 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 57.64 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.5114, allocations: 84.8 MB / 0.5346 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5117, allocations: 74.27 kB / 0.5346 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003304/0.515, allocations: 0.7357 MB / 0.5353 GB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.5151, allocations: 4 kB / 0.5354 GB, free: 11.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000368/0.5154, allocations: 321.9 kB / 0.5357 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.5155, allocations: 15.91 kB / 0.5357 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.5156, allocations: 7.906 kB / 0.5357 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.5157, allocations: 162.9 kB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.5158, allocations: 0 / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.5158, allocations: 3.938 kB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.72e-05/0.5159, allocations: 8 kB / 0.5358 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.516, allocations: 33.69 kB / 0.5359 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.516, allocations: 3.906 kB / 0.5359 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.516, allocations: 0 / 0.5359 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.516, allocations: 0 / 0.5359 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5161, allocations: 129.9 kB / 0.536 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.5162, allocations: 22.61 kB / 0.536 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.5162, allocations: 12.84 kB / 0.536 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.5165, allocations: 113.1 kB / 0.5362 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5166, allocations: 42 kB / 0.5362 GB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5166, allocations: 0 / 0.5362 GB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004597/0.517, allocations: 81.56 kB / 0.5363 GB, free: 10.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5171, allocations: 61.36 kB / 0.5363 GB, free: 10.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.5172, allocations: 88.38 kB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.5172, allocations: 25.86 kB / 0.5364 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.5172, allocations: 84.14 kB / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.5173, allocations: 7.906 kB / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5173, allocations: 0 / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5174, allocations: 310.8 kB / 0.5368 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.5174, allocations: 7.25 kB / 0.5368 GB, free: 9.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.5174, allocations: 0 / 0.5368 GB, free: 9.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.5174, allocations: 10.73 kB / 0.5368 GB, free: 9.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5174, allocations: 0 / 0.5368 GB, free: 9.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.269e-05/0.5175, allocations: 48.95 kB / 0.5369 GB, free: 9.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5175, allocations: 6.031 kB / 0.5369 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5176, allocations: 0 / 0.5369 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.5176, allocations: 0 / 0.5369 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.5194, allocations: 283.8 kB / 0.5372 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.5216, allocations: 1.431 MB / 0.5386 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.5217, allocations: 12.02 kB / 0.5386 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.5218, allocations: 4.969 kB / 0.5386 GB, free: 7.98 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.5219, allocations: 105 kB / 0.5387 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.5219, allocations: 0 / 0.5387 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.5219, allocations: 7.219 kB / 0.5387 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.522, allocations: 0 / 0.5387 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.522, allocations: 0 / 0.5387 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.522, allocations: 7.938 kB / 0.5387 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.5221, allocations: 132.9 kB / 0.5388 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.5221, allocations: 6.688 kB / 0.5388 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.5239, allocations: 299.7 kB / 0.5391 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5239, allocations: 0 / 0.5391 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5239, allocations: 0 / 0.5391 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.5261, allocations: 1.432 MB / 0.5405 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5262, allocations: 0 / 0.5405 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000103/0.5263, allocations: 60.66 kB / 0.5406 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.5263, allocations: 89.14 kB / 0.5406 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.5263, allocations: 0 / 0.5406 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.5264, allocations: 4 kB / 0.5407 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.5265, allocations: 7.984 kB / 0.5407 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.5265, allocations: 3.938 kB / 0.5407 GB, free: 5.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.565e-05/0.5265, allocations: 78.78 kB / 0.5407 GB, free: 5.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.5267, allocations: 12.09 kB / 0.5408 GB, free: 5.586 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.5269, allocations: 99.25 kB / 0.5408 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.5299, allocations: 439.6 kB / 0.5413 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5299, allocations: 0 / 0.5413 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003755/0.5336, allocations: 0.5616 MB / 0.5418 GB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.5338, allocations: 6.438 kB / 0.5418 GB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.5358, allocations: 411.1 kB / 0.5422 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5361, allocations: 0.688 MB / 0.5429 GB, free: 3.352 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5361, allocations: 0 / 0.5429 GB, free: 3.352 MB / 378.7 MB Notification: Performance of Templates: time 0.00238/0.5385, allocations: 460.6 kB / 0.5433 GB, free: 2.918 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)