Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001837/0.001837, allocations: 189 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4746/0.4746, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.4 MB / 342.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009468, allocations: 99.67 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.171e-06, allocations: 0 / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2965, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.067/3.363, allocations: 1.818 GB / 2.371 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/3.364, allocations: 80.67 kB / 2.371 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.6714/4.035, allocations: 216.7 MB / 2.583 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.531e-05/4.035, allocations: 8 kB / 2.583 GB, free: 34.48 MB / 0.6042 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.001844/4.037, allocations: 0.6264 MB / 2.583 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/4.037, allocations: 8.031 kB / 2.583 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/4.037, allocations: 63.56 kB / 2.583 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/4.038, allocations: 286.3 kB / 2.584 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/4.038, allocations: 7.906 kB / 2.584 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/4.038, allocations: 8 kB / 2.584 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002535/4.038, allocations: 148 kB / 2.584 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/4.038, allocations: 205.6 kB / 2.584 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/4.039, allocations: 3.938 kB / 2.584 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/4.039, allocations: 0 / 2.584 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/4.039, allocations: 8.312 kB / 2.584 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/4.04, allocations: 0.8497 MB / 2.585 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/4.04, allocations: 122.5 kB / 2.585 GB, free: 32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/4.04, allocations: 104.8 kB / 2.585 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/4.04, allocations: 182.2 kB / 2.585 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/4.04, allocations: 38.56 kB / 2.585 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.484e-06/4.04, allocations: 3.984 kB / 2.585 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005512/4.041, allocations: 228.4 kB / 2.585 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/4.041, allocations: 51.41 kB / 2.585 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/4.041, allocations: 158.5 kB / 2.586 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/4.041, allocations: 25.7 kB / 2.586 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/4.041, allocations: 128.2 kB / 2.586 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/4.041, allocations: 47.3 kB / 2.586 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/4.041, allocations: 0 / 2.586 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/4.041, allocations: 330.8 kB / 2.586 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/4.041, allocations: 71.95 kB / 2.586 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/4.042, allocations: 108.2 kB / 2.586 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/4.042, allocations: 84.09 kB / 2.586 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.042, allocations: 0 / 2.586 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002674/4.042, allocations: 205.3 kB / 2.587 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/4.042, allocations: 4 kB / 2.587 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/4.042, allocations: 0 / 2.587 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/4.042, allocations: 4 kB / 2.587 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/4.042, allocations: 39.91 kB / 2.587 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/4.042, allocations: 3.984 kB / 2.587 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/4.043, allocations: 27.89 kB / 2.587 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/4.043, allocations: 11.98 kB / 2.587 GB, free: 30.06 MB / 0.6042 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 8.254e-05/4.043, allocations: 106.6 kB / 2.587 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/4.043, allocations: 23.73 kB / 2.587 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/4.043, allocations: 21.47 kB / 2.587 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/4.043, allocations: 4 kB / 2.587 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/4.043, allocations: 4 kB / 2.587 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/4.043, allocations: 3.906 kB / 2.587 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/4.044, allocations: 0.649 MB / 2.587 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/4.044, allocations: 0 / 2.587 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/4.044, allocations: 39.91 kB / 2.588 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/4.044, allocations: 4 kB / 2.588 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/4.044, allocations: 7.984 kB / 2.588 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/4.044, allocations: 64 / 2.588 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/4.044, allocations: 8 kB / 2.588 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003502/4.044, allocations: 433.2 kB / 2.588 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/4.044, allocations: 116.8 kB / 2.588 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/4.044, allocations: 0 / 2.588 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/4.045, allocations: 19.98 kB / 2.588 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/4.045, allocations: 15.89 kB / 2.588 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/4.045, allocations: 8 kB / 2.588 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.519e-05/4.045, allocations: 132 kB / 2.588 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004943/4.045, allocations: 111.8 kB / 2.588 GB, free: 28.2 MB / 0.6042 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.001314/4.047, allocations: 1.012 MB / 2.589 GB, free: 27.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002755/4.047, allocations: 170 kB / 2.589 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/4.047, allocations: 4 kB / 2.589 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/4.047, allocations: 87.89 kB / 2.59 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/4.048, allocations: 84.42 kB / 2.59 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/4.048, allocations: 310.9 kB / 2.59 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/4.048, allocations: 0.8013 MB / 2.591 GB, free: 25.69 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/4.048, allocations: 0 / 2.591 GB, free: 25.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.01225/4.061, allocations: 8.701 MB / 2.599 GB, free: 17.04 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)