Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.2919/0.2919, allocations: 54.39 MB / 61.67 MB, free: 11.2 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.001769/0.001769, allocations: 192.9 kB / 75.38 MB, free: 1.488 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.512 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.00172/0.00172, allocations: 97.42 kB / 341.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.795e-06, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 57.65 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5176, allocations: 85.21 MB / 0.535 GB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.5179, allocations: 77.61 kB / 0.535 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006256/0.5242, allocations: 1.747 MB / 0.5367 GB, free: 10.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5242, allocations: 0 / 0.5367 GB, free: 10.31 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.0002913/0.5245, allocations: 329.8 kB / 0.5371 GB, free: 9.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5246, allocations: 11.97 kB / 0.5371 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.5246, allocations: 7.906 kB / 0.5371 GB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.5247, allocations: 159.1 kB / 0.5372 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.5248, allocations: 3.938 kB / 0.5372 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.5248, allocations: 11.92 kB / 0.5372 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.002e-05/0.5248, allocations: 7.938 kB / 0.5373 GB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/0.5249, allocations: 33.69 kB / 0.5373 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5249, allocations: 3.906 kB / 0.5373 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5249, allocations: 0 / 0.5373 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.525, allocations: 0 / 0.5373 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.5251, allocations: 129.5 kB / 0.5374 GB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.5252, allocations: 22.58 kB / 0.5374 GB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.5252, allocations: 8.172 kB / 0.5374 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.5256, allocations: 121.1 kB / 0.5376 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5256, allocations: 34.5 kB / 0.5376 GB, free: 9.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.5256, allocations: 0 / 0.5376 GB, free: 9.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0008179/0.5264, allocations: 145.1 kB / 0.5377 GB, free: 9.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5265, allocations: 51.41 kB / 0.5378 GB, free: 9.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.5266, allocations: 89 kB / 0.5379 GB, free: 8.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5266, allocations: 25.86 kB / 0.5379 GB, free: 8.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.5266, allocations: 84.14 kB / 0.538 GB, free: 8.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.5267, allocations: 15.52 kB / 0.538 GB, free: 8.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.5267, allocations: 0 / 0.538 GB, free: 8.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5268, allocations: 313.3 kB / 0.5383 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.5269, allocations: 4 kB / 0.5383 GB, free: 8.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.5269, allocations: 7.75 kB / 0.5383 GB, free: 8.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.5269, allocations: 4 kB / 0.5383 GB, free: 8.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5269, allocations: 0 / 0.5383 GB, free: 8.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.527, allocations: 53.44 kB / 0.5384 GB, free: 8.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5271, allocations: 4 kB / 0.5384 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5271, allocations: 0.625 kB / 0.5384 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5271, allocations: 0 / 0.5384 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.5298, allocations: 471.6 kB / 0.5388 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.5329, allocations: 1.574 MB / 0.5403 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.5331, allocations: 16.02 kB / 0.5404 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5331, allocations: 0 / 0.5404 GB, free: 6.332 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" 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.0001516/0.5332, allocations: 113.7 kB / 0.5405 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.5333, allocations: 4 kB / 0.5405 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.5333, allocations: 8.281 kB / 0.5405 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5333, allocations: 3.938 kB / 0.5405 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.5333, allocations: 0 / 0.5405 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5333, allocations: 0 / 0.5405 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5334, allocations: 136.1 kB / 0.5406 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5334, allocations: 0 / 0.5406 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/0.5362, allocations: 492 kB / 0.5411 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5362, allocations: 3.938 kB / 0.5411 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5362, allocations: 0 / 0.5411 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.5392, allocations: 1.568 MB / 0.5426 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5392, allocations: 32 / 0.5426 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001121/0.5393, allocations: 69.72 kB / 0.5427 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.5393, allocations: 85.02 kB / 0.5428 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.5394, allocations: 0 / 0.5428 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.5395, allocations: 15.98 kB / 0.5428 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5395, allocations: 4.781 kB / 0.5428 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5395, allocations: 3.984 kB / 0.5428 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.466e-05/0.5396, allocations: 75.91 kB / 0.5429 GB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.5398, allocations: 15.94 kB / 0.5429 GB, free: 3.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.0001642/0.54, allocations: 95.25 kB / 0.543 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.5442, allocations: 0.7251 MB / 0.5437 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5442, allocations: 0 / 0.5437 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005345/0.5496, allocations: 0.8987 MB / 0.5446 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.5497, allocations: 8.578 kB / 0.5446 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.5528, allocations: 0.6313 MB / 0.5452 GB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.5531, allocations: 0.688 MB / 0.5458 GB, free: 500 kB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5531, allocations: 0 / 0.5458 GB, free: 500 kB / 378.7 MB Notification: Performance of Templates: time 0.002307/0.5554, allocations: 498.1 kB / 0.5463 GB, free: 20 kB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)