Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003499/0.003499, allocations: 186 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6783/0.6783, allocations: 130.6 MB / 138.5 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 391.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 104.9 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.007e-05/1.01e-05, allocations: 2.375 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1634, allocations: 81.58 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5123/0.6758, allocations: 110.7 MB / 0.7357 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.6761, allocations: 80.41 kB / 0.7358 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006307/0.6824, allocations: 1.977 MB / 0.7377 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6824, allocations: 4 kB / 0.7377 GB, free: 11.27 MB / 0.4948 GB 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.0002933/0.6827, allocations: 330 kB / 0.738 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6828, allocations: 7.719 kB / 0.738 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.6828, allocations: 7.812 kB / 0.738 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.683, allocations: 160.7 kB / 0.7382 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.683, allocations: 0 / 0.7382 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.683, allocations: 0 / 0.7382 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.273e-05/0.6831, allocations: 5.25 kB / 0.7382 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.838e-05/0.6831, allocations: 35.05 kB / 0.7382 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6831, allocations: 3.938 kB / 0.7382 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6832, allocations: 3.938 kB / 0.7382 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6832, allocations: 3.906 kB / 0.7382 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.6833, allocations: 136.5 kB / 0.7384 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.6834, allocations: 22.33 kB / 0.7384 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.6834, allocations: 8.766 kB / 0.7384 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.6834, allocations: 3.672 kB / 0.7384 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6834, allocations: 36.2 kB / 0.7384 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6835, allocations: 0 / 0.7384 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.6836, allocations: 37.25 kB / 0.7385 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.6837, allocations: 56.66 kB / 0.7385 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.6837, allocations: 88.12 kB / 0.7386 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6838, allocations: 29.58 kB / 0.7386 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.6838, allocations: 84.3 kB / 0.7387 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.6838, allocations: 5.359 kB / 0.7387 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.6838, allocations: 0 / 0.7387 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6839, allocations: 320.3 kB / 0.739 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.684, allocations: 3.844 kB / 0.739 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.684, allocations: 1.125 kB / 0.739 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.347e-05/0.684, allocations: 3.844 kB / 0.739 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.684, allocations: 0 / 0.739 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.307e-05/0.6841, allocations: 34.73 kB / 0.7391 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.6841, allocations: 7.938 kB / 0.7391 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6841, allocations: 0 / 0.7391 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6841, allocations: 1.547 kB / 0.7391 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.6843, allocations: 9.219 kB / 0.7391 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/0.6846, allocations: 0.5936 MB / 0.7397 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.6847, allocations: 5.375 kB / 0.7397 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.6847, allocations: 4.094 kB / 0.7397 GB, free: 25.17 MB / 0.5105 GB 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 6.718e-05/0.6847, allocations: 101 kB / 0.7398 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.6848, allocations: 9.812 kB / 0.7398 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.6849, allocations: 41.97 kB / 0.7398 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6849, allocations: 5.047 kB / 0.7398 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6849, allocations: 0 / 0.7398 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6849, allocations: 0 / 0.7398 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.685, allocations: 124.1 kB / 0.74 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.685, allocations: 11.75 kB / 0.74 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.6851, allocations: 14.94 kB / 0.74 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6851, allocations: 3.812 kB / 0.74 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6851, allocations: 0 / 0.74 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002877/0.6854, allocations: 0.5865 MB / 0.7406 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6854, allocations: 3.906 kB / 0.7406 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.783e-05/0.6855, allocations: 62.39 kB / 0.7406 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.6855, allocations: 78.28 kB / 0.7407 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.6855, allocations: 11.78 kB / 0.7407 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.6856, allocations: 0 / 0.7407 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.6856, allocations: 1.406 kB / 0.7407 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6856, allocations: 0 / 0.7407 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.113e-05/0.6856, allocations: 83.09 kB / 0.7408 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00018/0.6858, allocations: 17.09 kB / 0.7408 GB, free: 24.01 MB / 0.5105 GB 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.0001656/0.686, allocations: 113.1 kB / 0.7409 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.6861, allocations: 17.16 kB / 0.7409 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6861, allocations: 0 / 0.7409 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.6862, allocations: 14.42 kB / 0.7409 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.6864, allocations: 5.578 kB / 0.7409 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.6865, allocations: 54.16 kB / 0.741 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.6868, allocations: 0.6829 MB / 0.7417 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.6868, allocations: 0 / 0.7417 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.002258/0.6891, allocations: 436.1 kB / 0.7421 GB, free: 23.09 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)