Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001717/0.001717, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5917/0.5917, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008195/0.0008195, allocations: 95.95 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.179e-06/5.219e-06, allocations: 0 / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.09891, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.3988, allocations: 111 MB / 0.7416 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.399, allocations: 81.11 kB / 0.7417 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005793/0.4048, allocations: 1.984 MB / 0.7436 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4048, allocations: 0 / 0.7436 GB, free: 10.28 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.0002067/0.405, allocations: 329.8 kB / 0.7439 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.4051, allocations: 7.812 kB / 0.7439 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.4051, allocations: 3.906 kB / 0.7439 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.4052, allocations: 164.7 kB / 0.7441 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4052, allocations: 0 / 0.7441 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.4052, allocations: 0 / 0.7441 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.805e-05/0.4053, allocations: 7.906 kB / 0.7441 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.562e-05/0.4053, allocations: 31.53 kB / 0.7441 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.4053, allocations: 7.812 kB / 0.7441 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.4053, allocations: 2.25 kB / 0.7441 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4053, allocations: 3.906 kB / 0.7441 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.4054, allocations: 130.7 kB / 0.7443 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.4055, allocations: 30.47 kB / 0.7443 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.4055, allocations: 4.859 kB / 0.7443 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4055, allocations: 4 kB / 0.7443 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4055, allocations: 35.98 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4056, allocations: 0 / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 9.67e-05/0.4057, allocations: 33.08 kB / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.4057, allocations: 60.72 kB / 0.7444 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.4057, allocations: 85 kB / 0.7445 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.4057, allocations: 25.7 kB / 0.7445 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.4058, allocations: 84.3 kB / 0.7446 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.4058, allocations: 9.094 kB / 0.7446 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.4058, allocations: 0 / 0.7446 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.4059, allocations: 319.5 kB / 0.7449 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-06/0.4059, allocations: 0 / 0.7449 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.4059, allocations: 3.875 kB / 0.7449 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.066e-05/0.4059, allocations: 0 / 0.7449 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4059, allocations: 0 / 0.7449 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.003e-05/0.406, allocations: 42.31 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.406, allocations: 7.688 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.406, allocations: 0 / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.406, allocations: 1.594 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4061, allocations: 9.422 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000313/0.4065, allocations: 0.5897 MB / 0.7456 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.4065, allocations: 0 / 0.7456 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4065, allocations: 4.125 kB / 0.7456 GB, free: 24.19 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 5.219e-05/0.4066, allocations: 106.6 kB / 0.7457 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.4066, allocations: 3.906 kB / 0.7457 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.4067, allocations: 42.55 kB / 0.7457 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4067, allocations: 1.031 kB / 0.7457 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4067, allocations: 0 / 0.7457 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4067, allocations: 0 / 0.7457 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.044e-05/0.4067, allocations: 129.1 kB / 0.7458 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4067, allocations: 7.938 kB / 0.7458 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.4068, allocations: 18.44 kB / 0.7459 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4068, allocations: 0 / 0.7459 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4068, allocations: 0 / 0.7459 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002351/0.4071, allocations: 0.5931 MB / 0.7464 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4071, allocations: 3.906 kB / 0.7464 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.57e-05/0.4071, allocations: 62.95 kB / 0.7465 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.4072, allocations: 82.55 kB / 0.7466 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4072, allocations: 7.906 kB / 0.7466 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.4072, allocations: 0 / 0.7466 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.4072, allocations: 5.25 kB / 0.7466 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4072, allocations: 0 / 0.7466 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.283e-05/0.4073, allocations: 79.25 kB / 0.7467 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001696/0.4074, allocations: 15.62 kB / 0.7467 GB, free: 23.02 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.0001191/0.4076, allocations: 113.4 kB / 0.7468 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.4077, allocations: 21.95 kB / 0.7468 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4077, allocations: 0 / 0.7468 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.4078, allocations: 14.53 kB / 0.7468 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.886e-05/0.4079, allocations: 3.562 kB / 0.7468 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000121/0.408, allocations: 58.77 kB / 0.7469 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.4082, allocations: 0.691 MB / 0.7476 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4082, allocations: 0 / 0.7476 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.001705/0.4099, allocations: 436.6 kB / 0.748 GB, free: 22.09 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)