Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Annex60.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2885/0.2885, allocations: 54.39 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00138/0.00138, allocations: 183.7 kB / 75.38 MB, free: 1.504 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.582/1.582, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 101.6 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.432e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 57.64 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.784/4.922, allocations: 2.117 GB / 2.569 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/4.922, allocations: 83.95 kB / 2.569 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.741/5.663, allocations: 211.2 MB / 2.775 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.357e-05/5.663, allocations: 12.94 kB / 2.775 GB, free: 76.8 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002425/5.665, allocations: 0.6817 MB / 2.776 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/5.665, allocations: 11.97 kB / 2.776 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/5.666, allocations: 55.52 kB / 2.776 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/5.666, allocations: 307.2 kB / 2.776 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/5.667, allocations: 12 kB / 2.776 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/5.667, allocations: 16 kB / 2.776 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005721/5.667, allocations: 285.1 kB / 2.777 GB, free: 75.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/5.668, allocations: 312.7 kB / 2.777 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/5.668, allocations: 0 / 2.777 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/5.668, allocations: 3.938 kB / 2.777 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/5.668, allocations: 12.66 kB / 2.777 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/5.67, allocations: 1.258 MB / 2.778 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/5.67, allocations: 130.4 kB / 2.778 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/5.671, allocations: 68.81 kB / 2.778 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/5.671, allocations: 4 kB / 2.778 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/5.671, allocations: 34.56 kB / 2.778 GB, free: 73.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/5.671, allocations: 0 / 2.778 GB, free: 73.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000355/5.671, allocations: 169.5 kB / 2.779 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/5.671, allocations: 55.41 kB / 2.779 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/5.671, allocations: 228.2 kB / 2.779 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/5.671, allocations: 29.7 kB / 2.779 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/5.671, allocations: 199.4 kB / 2.779 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/5.671, allocations: 31.55 kB / 2.779 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/5.671, allocations: 4 kB / 2.779 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/5.672, allocations: 330.8 kB / 2.779 GB, free: 72.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/5.672, allocations: 87.95 kB / 2.78 GB, free: 72.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/5.672, allocations: 134.8 kB / 2.78 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/5.672, allocations: 108.1 kB / 2.78 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/5.672, allocations: 4 kB / 2.78 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003698/5.672, allocations: 270.2 kB / 2.78 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/5.672, allocations: 4 kB / 2.78 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/5.672, allocations: 4 kB / 2.78 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/5.672, allocations: 96 / 2.78 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/5.673, allocations: 60.06 kB / 2.78 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/5.673, allocations: 7.984 kB / 2.78 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/5.673, allocations: 31.73 kB / 2.78 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/5.673, allocations: 12 kB / 2.78 GB, free: 71.64 MB / 0.4948 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 (24): * Single equations (assignments): 24 * 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 9.683e-05/5.673, allocations: 112.9 kB / 2.78 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/5.673, allocations: 23.72 kB / 2.78 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/5.673, allocations: 25.7 kB / 2.78 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/5.673, allocations: 0 / 2.78 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/5.673, allocations: 0 / 2.78 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/5.673, allocations: 0 / 2.78 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/5.674, allocations: 0.5512 MB / 2.781 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/5.674, allocations: 4 kB / 2.781 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/5.674, allocations: 27.97 kB / 2.781 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/5.674, allocations: 0 / 2.781 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/5.674, allocations: 3.906 kB / 2.781 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/5.674, allocations: 4 kB / 2.781 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/5.674, allocations: 0 / 2.781 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000312/5.674, allocations: 308.3 kB / 2.781 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/5.675, allocations: 128.8 kB / 2.781 GB, free: 70.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/5.675, allocations: 3.984 kB / 2.781 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/5.675, allocations: 19.98 kB / 2.781 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/5.675, allocations: 15.91 kB / 2.781 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/5.675, allocations: 11.98 kB / 2.781 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001393/5.675, allocations: 184.5 kB / 2.781 GB, free: 70.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006564/5.676, allocations: 155.7 kB / 2.782 GB, free: 69.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.001598/5.678, allocations: 1.016 MB / 2.783 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003025/5.678, allocations: 179.8 kB / 2.783 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/5.678, allocations: 0 / 2.783 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/5.678, allocations: 71.89 kB / 2.783 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/5.679, allocations: 88.75 kB / 2.783 GB, free: 68.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/5.679, allocations: 353.2 kB / 2.783 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/5.68, allocations: 0.8216 MB / 2.784 GB, free: 67.41 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/5.68, allocations: 7.938 kB / 2.784 GB, free: 67.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.01473/5.694, allocations: 9.735 MB / 2.794 GB, free: 57.66 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)