Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.0009855/0.0009856, allocations: 191.6 kB / 7.806 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.447/0.447, allocations: 90.86 MB / 99.08 MB, free: 14.92 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.255/1.255, allocations: 221.4 MB / 342.8 MB, free: 5.246 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.0009689/0.0009689, allocations: 84.81 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.385e-06, allocations: 0 / 493.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4153, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.751/4.166, allocations: 1.901 GB / 2.454 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/4.166, allocations: 88.58 kB / 2.454 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.612/5.778, allocations: 476.8 MB / 2.92 GB, free: 107 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.00011/5.778, allocations: 32.94 kB / 2.92 GB, free: 107 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004712/5.783, allocations: 1.483 MB / 2.922 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/5.783, allocations: 6.344 kB / 2.922 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/5.785, allocations: 302.5 kB / 2.922 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/5.787, allocations: 0.8522 MB / 2.923 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/5.787, allocations: 22.39 kB / 2.923 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/5.788, allocations: 38.09 kB / 2.923 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/5.789, allocations: 0.8859 MB / 2.924 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/5.79, allocations: 0.8972 MB / 2.924 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/5.79, allocations: 0 / 2.924 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/5.79, allocations: 0 / 2.924 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/5.79, allocations: 76.02 kB / 2.925 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/5.796, allocations: 3.53 MB / 2.928 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/5.797, allocations: 0.7294 MB / 2.929 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/5.797, allocations: 361.4 kB / 2.929 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/5.798, allocations: 195 kB / 2.929 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/5.798, allocations: 40.62 kB / 2.929 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 3.005e-06/5.798, allocations: 3.188 kB / 2.929 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.001665/5.799, allocations: 0.7498 MB / 2.93 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/5.8, allocations: 109.8 kB / 2.93 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/5.8, allocations: 0.5538 MB / 2.931 GB, free: 104 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/5.8, allocations: 28.39 kB / 2.931 GB, free: 104 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/5.8, allocations: 312.6 kB / 2.931 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/5.801, allocations: 210.7 kB / 2.931 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/5.801, allocations: 0 / 2.931 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001181/5.801, allocations: 393.4 kB / 2.932 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/5.801, allocations: 319.9 kB / 2.932 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/5.802, allocations: 438.4 kB / 2.932 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/5.803, allocations: 0.6794 MB / 2.933 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/5.803, allocations: 3.906 kB / 2.933 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002044/5.805, allocations: 1.14 MB / 2.934 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/5.805, allocations: 0.8779 MB / 2.935 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/5.805, allocations: 3.719 kB / 2.935 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/5.805, allocations: 7.5 kB / 2.935 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/5.806, allocations: 144.2 kB / 2.935 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/5.806, allocations: 7.281 kB / 2.935 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/5.807, allocations: 89.2 kB / 2.935 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/5.807, allocations: 29.98 kB / 2.935 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/5.807, allocations: 3.781 kB / 2.935 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/5.809, allocations: 0.9566 MB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/5.809, allocations: 3.656 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/5.809, allocations: 11.41 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/5.809, allocations: 142.2 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/5.81, allocations: 4.938 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007847/5.81, allocations: 77.89 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/5.81, allocations: 24.56 kB / 2.936 GB, free: 102.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.0001703/5.811, allocations: 129.2 kB / 2.936 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/5.811, allocations: 82.69 kB / 2.937 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/5.812, allocations: 0.768 MB / 2.937 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/5.812, allocations: 7.844 kB / 2.937 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/5.812, allocations: 0 / 2.937 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009704/5.813, allocations: 0.7354 MB / 2.938 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/5.816, allocations: 1.933 MB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/5.816, allocations: 7.672 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/5.817, allocations: 135 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/5.817, allocations: 13.12 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/5.817, allocations: 7.328 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/5.817, allocations: 9.938 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/5.817, allocations: 3.75 kB / 2.94 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001677/5.819, allocations: 1.492 MB / 2.942 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/5.819, allocations: 247.9 kB / 2.942 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/5.819, allocations: 9.969 kB / 2.942 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/5.82, allocations: 37.02 kB / 2.942 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/5.82, allocations: 43.33 kB / 2.942 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/5.82, allocations: 24.14 kB / 2.942 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004492/5.82, allocations: 435.6 kB / 2.942 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003128/5.824, allocations: 0.8678 MB / 2.943 GB, free: 100.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.003224/5.827, allocations: 1.937 MB / 2.945 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001798/5.829, allocations: 1.132 MB / 2.946 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.829, allocations: 0 / 2.946 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/5.829, allocations: 351.4 kB / 2.946 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/5.831, allocations: 427.5 kB / 2.947 GB, free: 100 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/5.834, allocations: 1.491 MB / 2.948 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/5.835, allocations: 1.185 MB / 2.949 GB, free: 98.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/5.835, allocations: 2.438 kB / 2.949 GB, free: 98.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.04704/5.882, allocations: 31.62 MB / 2.98 GB, free: 94.26 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)