Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.002186/0.002187, allocations: 184.5 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6067/0.6067, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.15/1.15, allocations: 221.3 MB / 395 MB, free: 10.26 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.0008717/0.0008717, allocations: 98.83 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 2.906 kB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4377, allocations: 122.5 MB / 0.7529 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.4379, allocations: 87.8 kB / 0.753 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02965/0.4676, allocations: 10.85 MB / 0.7636 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.4676, allocations: 8.781 kB / 0.7636 GB, free: 7.078 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008161/0.4684, allocations: 0.5337 MB / 0.7641 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.4685, allocations: 9 kB / 0.7641 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.4688, allocations: 56.08 kB / 0.7641 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.47, allocations: 0.6183 MB / 0.7648 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.47, allocations: 6.844 kB / 0.7648 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4701, allocations: 14.88 kB / 0.7648 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001935/0.4703, allocations: 123.1 kB / 0.7649 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4704, allocations: 123.6 kB / 0.765 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4705, allocations: 0 / 0.765 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4705, allocations: 4 kB / 0.765 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4705, allocations: 2.844 kB / 0.765 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.4712, allocations: 476.8 kB / 0.7655 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.4714, allocations: 136.1 kB / 0.7656 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.4715, allocations: 66.23 kB / 0.7657 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4715, allocations: 2.156 kB / 0.7657 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4716, allocations: 39.12 kB / 0.7657 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.4716, allocations: 0 / 0.7657 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0004609/0.472, allocations: 193.7 kB / 0.7659 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4721, allocations: 52.62 kB / 0.7659 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.4723, allocations: 258.5 kB / 0.7662 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.4724, allocations: 25.7 kB / 0.7662 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.4724, allocations: 128.1 kB / 0.7663 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.4724, allocations: 26.61 kB / 0.7664 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.4725, allocations: 0 / 0.7664 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4726, allocations: 341 kB / 0.7667 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.4727, allocations: 71.36 kB / 0.7667 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4728, allocations: 134.3 kB / 0.7669 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.4731, allocations: 86.05 kB / 0.767 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4731, allocations: 1.344 kB / 0.767 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004816/0.4736, allocations: 256.2 kB / 0.7672 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.4738, allocations: 0.7022 MB / 0.7679 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4738, allocations: 6.438 kB / 0.7679 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4738, allocations: 3.125 kB / 0.7679 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4741, allocations: 52.05 kB / 0.7679 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4741, allocations: 2.25 kB / 0.7679 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4743, allocations: 28.3 kB / 0.768 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4743, allocations: 15.84 kB / 0.768 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.4743, allocations: 4 kB / 0.768 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003436/0.4747, allocations: 160.6 kB / 0.7681 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4747, allocations: 5.25 kB / 0.7682 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.4747, allocations: 3.031 kB / 0.7682 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.4749, allocations: 58.11 kB / 0.7682 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.4749, allocations: 2.312 kB / 0.7682 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.4751, allocations: 22.67 kB / 0.7682 GB, free: 19.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4751, allocations: 11.06 kB / 0.7682 GB, free: 19.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.4752, allocations: 119.2 kB / 0.7684 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.4752, allocations: 21.69 kB / 0.7684 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.4756, allocations: 169.3 kB / 0.7685 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4756, allocations: 9.312 kB / 0.7686 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4756, allocations: 3.906 kB / 0.7686 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4756, allocations: 1.031 kB / 0.7686 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.4759, allocations: 230.9 kB / 0.7688 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4759, allocations: 0 / 0.7688 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.4761, allocations: 33.36 kB / 0.7688 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4761, allocations: 0 / 0.7688 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4761, allocations: 4.938 kB / 0.7688 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4761, allocations: 4.984 kB / 0.7688 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4761, allocations: 0 / 0.7688 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002628/0.4764, allocations: 239.9 kB / 0.769 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.4765, allocations: 111.6 kB / 0.7692 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4765, allocations: 1.594 kB / 0.7692 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4767, allocations: 16.3 kB / 0.7692 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.4767, allocations: 10.86 kB / 0.7692 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4767, allocations: 4.031 kB / 0.7692 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001686/0.4769, allocations: 206.9 kB / 0.7694 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006116/0.4775, allocations: 183.3 kB / 0.7696 GB, free: 19.05 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000588/0.4781, allocations: 376.8 kB / 0.7699 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.4785, allocations: 247.3 kB / 0.7702 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4785, allocations: 0 / 0.7702 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.4786, allocations: 51.33 kB / 0.7702 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.479, allocations: 77.06 kB / 0.7703 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.4796, allocations: 340.4 kB / 0.7706 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.48, allocations: 0.8091 MB / 0.7714 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.48, allocations: 0 / 0.7714 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.01153/0.4915, allocations: 7.408 MB / 0.7786 GB, free: 14.2 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)