Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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/BuildSysPro 3.5.0/package.mo): time 0.7391/0.7391, allocations: 127.4 MB / 134.7 MB, free: 9.762 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 182.8 kB / 164.4 MB, free: 5.438 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 399.1 MB, free: 2.949 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009518/0.0009519, allocations: 95.66 kB / 476.3 MB, free: 2.602 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.055e-06, allocations: 0 / 0.546 GB, free: 15.75 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4793, allocations: 76.74 MB / 0.6209 GB, free: 86.48 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.565/5.044, allocations: 2.15 GB / 2.771 GB, free: 53.63 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.045, allocations: 93.91 kB / 2.771 GB, free: 53.54 MB / 0.6433 GB Notification: Performance of FrontEnd: time 2.458/7.502, allocations: 0.562 GB / 3.333 GB, free: 118.7 MB / 0.6433 GB Notification: Performance of Transformations before backend: time 0.0001507/7.503, allocations: 31.33 kB / 3.333 GB, free: 118.7 MB / 0.6433 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00434/7.507, allocations: 1.262 MB / 3.334 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/7.507, allocations: 7.156 kB / 3.334 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/7.51, allocations: 335.5 kB / 3.334 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/7.512, allocations: 0.8291 MB / 3.335 GB, free: 117.9 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/7.513, allocations: 109.8 kB / 3.335 GB, free: 117.9 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/7.513, allocations: 51.38 kB / 3.335 GB, free: 117.9 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/7.515, allocations: 0.7082 MB / 3.336 GB, free: 117.9 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/7.517, allocations: 0.8976 MB / 3.337 GB, free: 117.8 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/7.517, allocations: 3.375 kB / 3.337 GB, free: 117.8 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/7.517, allocations: 3.719 kB / 3.337 GB, free: 117.8 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/7.517, allocations: 31.06 kB / 3.337 GB, free: 117.8 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007387/7.525, allocations: 3.852 MB / 3.341 GB, free: 115.9 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/7.525, allocations: 379.4 kB / 3.341 GB, free: 115.9 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/7.526, allocations: 198.4 kB / 3.341 GB, free: 115.9 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/7.526, allocations: 192.6 kB / 3.341 GB, free: 115.7 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/7.526, allocations: 40.62 kB / 3.342 GB, free: 115.6 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=35): time 3.908e-06/7.526, allocations: 0 / 3.342 GB, free: 115.6 MB / 0.6433 GB Notification: Performance of matching and sorting (n=37): time 0.003322/7.529, allocations: 1.077 MB / 3.343 GB, free: 115.2 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/7.529, allocations: 55.31 kB / 3.343 GB, free: 115.2 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/7.531, allocations: 0.5751 MB / 3.343 GB, free: 115 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/7.531, allocations: 29.67 kB / 3.343 GB, free: 115 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/7.531, allocations: 413.6 kB / 3.344 GB, free: 114.8 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/7.531, allocations: 132.6 kB / 3.344 GB, free: 114.7 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/7.531, allocations: 0 / 3.344 GB, free: 114.7 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 0.000152/7.531, allocations: 374 kB / 3.344 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/7.532, allocations: 190.3 kB / 3.344 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/7.532, allocations: 366.8 kB / 3.345 GB, free: 114.2 MB / 0.6433 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/7.534, allocations: 0.6879 MB / 3.345 GB, free: 114.1 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/7.534, allocations: 3.906 kB / 3.345 GB, free: 114.1 MB / 0.6433 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001226/7.535, allocations: 0.6128 MB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/7.535, allocations: 3.875 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/7.535, allocations: 3.5 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/7.535, allocations: 10.22 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/7.536, allocations: 149.3 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/7.536, allocations: 13.19 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/7.537, allocations: 92.22 kB / 3.346 GB, free: 114 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/7.537, allocations: 24.53 kB / 3.346 GB, free: 114 MB / 0.6433 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0001983/7.537, allocations: 124.2 kB / 3.346 GB, free: 113.9 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/7.538, allocations: 80.81 kB / 3.346 GB, free: 113.9 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/7.538, allocations: 75.44 kB / 3.346 GB, free: 113.9 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/7.538, allocations: 8.125 kB / 3.346 GB, free: 113.9 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/7.538, allocations: 0 / 3.346 GB, free: 113.9 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006175/7.539, allocations: 0.6474 MB / 3.347 GB, free: 113.4 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/7.541, allocations: 1.426 MB / 3.348 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/7.541, allocations: 3.719 kB / 3.348 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/7.542, allocations: 83.2 kB / 3.349 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/7.542, allocations: 6.188 kB / 3.349 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/7.542, allocations: 7.656 kB / 3.349 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/7.542, allocations: 7.547 kB / 3.349 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/7.542, allocations: 10.12 kB / 3.349 GB, free: 113 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001228/7.543, allocations: 0.9554 MB / 3.35 GB, free: 112.5 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/7.544, allocations: 223.7 kB / 3.35 GB, free: 112.3 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/7.544, allocations: 10.34 kB / 3.35 GB, free: 112.3 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/7.545, allocations: 62.27 kB / 3.35 GB, free: 112.3 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/7.545, allocations: 22.91 kB / 3.35 GB, free: 112.3 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/7.545, allocations: 32.33 kB / 3.35 GB, free: 112.3 MB / 0.6433 GB Notification: Performance of sort global known variables: time 0.000719/7.546, allocations: 442.6 kB / 3.35 GB, free: 112.2 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.001971/7.548, allocations: 320.2 kB / 3.351 GB, free: 112.2 MB / 0.6433 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.003811/7.552, allocations: 1.525 MB / 3.352 GB, free: 111.9 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.001143/7.553, allocations: 434.4 kB / 3.352 GB, free: 111.9 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/7.553, allocations: 0 / 3.352 GB, free: 111.9 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/7.553, allocations: 179.9 kB / 3.353 GB, free: 111.9 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/7.556, allocations: 383.8 kB / 3.353 GB, free: 111.9 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/7.56, allocations: 1.372 MB / 3.354 GB, free: 111.4 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/7.561, allocations: 1.188 MB / 3.356 GB, free: 110.7 MB / 0.6433 GB Notification: Performance of SimCode: time 1.212e-06/7.561, allocations: 6.25 kB / 3.356 GB, free: 110.7 MB / 0.6433 GB Notification: Performance of Templates: time 0.03839/7.599, allocations: 21.21 MB / 3.376 GB, free: 110.3 MB / 0.6433 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)