Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [: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.003441/0.003441, allocations: 178.2 kB / 7.453 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6871/0.6871, allocations: 130.6 MB / 138.5 MB, free: 2.156 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.588/1.588, allocations: 221.4 MB / 391.4 MB, free: 13.01 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.0009989/0.0009988, allocations: 97.19 kB / 473.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.696e-06, allocations: 0 / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.812/3.988, allocations: 1.827 GB / 2.455 GB, free: 34.21 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/3.989, allocations: 79.95 kB / 2.455 GB, free: 34.13 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.7945/4.783, allocations: 216.7 MB / 2.667 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.034e-05/4.783, allocations: 8 kB / 2.667 GB, free: 82.97 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002019/4.785, allocations: 0.6302 MB / 2.667 GB, free: 82.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/4.785, allocations: 8.031 kB / 2.667 GB, free: 82.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/4.786, allocations: 59.58 kB / 2.667 GB, free: 82.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/4.787, allocations: 286.3 kB / 2.668 GB, free: 81.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/4.787, allocations: 4 kB / 2.668 GB, free: 81.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/4.787, allocations: 11.91 kB / 2.668 GB, free: 81.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00028/4.787, allocations: 155.7 kB / 2.668 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/4.787, allocations: 197.4 kB / 2.668 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/4.787, allocations: 0 / 2.668 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/4.787, allocations: 0 / 2.668 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/4.787, allocations: 20.25 kB / 2.668 GB, free: 81.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/4.789, allocations: 0.8486 MB / 2.669 GB, free: 80.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/4.789, allocations: 122.5 kB / 2.669 GB, free: 80.49 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/4.789, allocations: 100.8 kB / 2.669 GB, free: 80.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/4.789, allocations: 194.2 kB / 2.669 GB, free: 80.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/4.789, allocations: 30.56 kB / 2.669 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/4.789, allocations: 0 / 2.669 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0005702/4.79, allocations: 222.4 kB / 2.669 GB, free: 79.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/4.79, allocations: 51.41 kB / 2.669 GB, free: 79.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/4.79, allocations: 162.8 kB / 2.67 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/4.79, allocations: 29.69 kB / 2.67 GB, free: 79.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/4.79, allocations: 136.1 kB / 2.67 GB, free: 79.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/4.79, allocations: 43.3 kB / 2.67 GB, free: 79.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/4.79, allocations: 0 / 2.67 GB, free: 79.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/4.79, allocations: 326.8 kB / 2.67 GB, free: 79.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/4.79, allocations: 71.95 kB / 2.67 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/4.79, allocations: 108.2 kB / 2.67 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/4.791, allocations: 76.94 kB / 2.67 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/4.791, allocations: 0 / 2.67 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00028/4.791, allocations: 211.5 kB / 2.671 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/4.791, allocations: 4 kB / 2.671 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/4.791, allocations: 4 kB / 2.671 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/4.791, allocations: 4.062 kB / 2.671 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/4.791, allocations: 39.91 kB / 2.671 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/4.791, allocations: 3.984 kB / 2.671 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/4.791, allocations: 23.83 kB / 2.671 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/4.791, allocations: 12 kB / 2.671 GB, free: 78.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 7.82e-05/4.792, allocations: 105 kB / 2.671 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/4.792, allocations: 19.8 kB / 2.671 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/4.792, allocations: 21.47 kB / 2.671 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/4.792, allocations: 4 kB / 2.671 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/4.792, allocations: 0 / 2.671 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/4.792, allocations: 0 / 2.671 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/4.792, allocations: 0.6604 MB / 2.671 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/4.792, allocations: 0 / 2.671 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/4.793, allocations: 44.12 kB / 2.671 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/4.793, allocations: 4 kB / 2.672 GB, free: 77.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/4.793, allocations: 7.984 kB / 2.672 GB, free: 77.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/4.793, allocations: 4.062 kB / 2.672 GB, free: 77.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/4.793, allocations: 4 kB / 2.672 GB, free: 77.62 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003436/4.793, allocations: 429 kB / 2.672 GB, free: 77.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/4.793, allocations: 116.9 kB / 2.672 GB, free: 76.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/4.793, allocations: 0 / 2.672 GB, free: 76.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/4.793, allocations: 15.98 kB / 2.672 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/4.793, allocations: 19.89 kB / 2.672 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/4.794, allocations: 8 kB / 2.672 GB, free: 76.94 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.809e-05/4.794, allocations: 132 kB / 2.672 GB, free: 76.81 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005552/4.794, allocations: 115.8 kB / 2.672 GB, free: 76.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 14 * 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.001482/4.796, allocations: 1.027 MB / 2.673 GB, free: 75.67 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003014/4.796, allocations: 167.8 kB / 2.673 GB, free: 75.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/4.796, allocations: 0 / 2.673 GB, free: 75.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/4.796, allocations: 91.89 kB / 2.674 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/4.797, allocations: 78.3 kB / 2.674 GB, free: 75.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/4.797, allocations: 313.4 kB / 2.674 GB, free: 74.99 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/4.798, allocations: 0.7858 MB / 2.675 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of SimCode: time 5.41e-07/4.798, allocations: 0 / 2.675 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of Templates: time 0.01381/4.811, allocations: 8.693 MB / 2.683 GB, free: 65.53 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)