Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [: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.8072/0.8072, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 181.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 75.36 kB / 476.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.645e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.618/5.841, allocations: 2.146 GB / 2.766 GB, free: 67.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/5.841, allocations: 89.14 kB / 2.767 GB, free: 67.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.529/7.37, allocations: 358.7 MB / 3.117 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001135/7.37, allocations: 21.7 kB / 3.117 GB, free: 135.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003454/7.374, allocations: 1.011 MB / 3.118 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/7.374, allocations: 11.5 kB / 3.118 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/7.377, allocations: 283.9 kB / 3.118 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/7.379, allocations: 0.7646 MB / 3.119 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/7.379, allocations: 22.81 kB / 3.119 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/7.379, allocations: 41.06 kB / 3.119 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/7.381, allocations: 0.4951 MB / 3.119 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/7.382, allocations: 0.5269 MB / 3.12 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/7.382, allocations: 4.406 kB / 3.12 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/7.382, allocations: 0 / 3.12 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/7.382, allocations: 21.84 kB / 3.12 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/7.387, allocations: 2.505 MB / 3.122 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/7.387, allocations: 299.5 kB / 3.123 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/7.387, allocations: 190.8 kB / 3.123 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/7.388, allocations: 97.03 kB / 3.123 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/7.388, allocations: 45.06 kB / 3.123 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 3.175e-06/7.388, allocations: 3.5 kB / 3.123 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.002823/7.391, allocations: 1.147 MB / 3.124 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/7.391, allocations: 59.16 kB / 3.124 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/7.391, allocations: 399.4 kB / 3.124 GB, free: 133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/7.391, allocations: 29.17 kB / 3.125 GB, free: 133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/7.391, allocations: 296.6 kB / 3.125 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/7.391, allocations: 151.3 kB / 3.125 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/7.392, allocations: 3.812 kB / 3.125 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001136/7.392, allocations: 367.3 kB / 3.125 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/7.392, allocations: 157.2 kB / 3.125 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/7.392, allocations: 252.3 kB / 3.126 GB, free: 132.4 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/7.395, allocations: 0.9921 MB / 3.127 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/7.395, allocations: 0 / 3.127 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006598/7.395, allocations: 495.7 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/7.395, allocations: 3.938 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/7.395, allocations: 10.34 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/7.395, allocations: 3.75 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/7.396, allocations: 106.1 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/7.396, allocations: 3.844 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/7.396, allocations: 27.5 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/7.396, allocations: 18.5 kB / 3.127 GB, free: 132.1 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start 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 (58): * Single equations (assignments): 58 * 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.000139/7.397, allocations: 122.6 kB / 3.127 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/7.397, allocations: 65.06 kB / 3.127 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/7.397, allocations: 65.86 kB / 3.128 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/7.397, allocations: 3.969 kB / 3.128 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/7.397, allocations: 0 / 3.128 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000556/7.398, allocations: 477.5 kB / 3.128 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/7.4, allocations: 1.407 MB / 3.129 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/7.4, allocations: 6.094 kB / 3.129 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/7.4, allocations: 119.5 kB / 3.129 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/7.4, allocations: 3.781 kB / 3.13 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/7.4, allocations: 7.469 kB / 3.13 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/7.4, allocations: 7.75 kB / 3.13 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/7.4, allocations: 5.5 kB / 3.13 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/7.401, allocations: 1.053 MB / 3.131 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/7.402, allocations: 205.8 kB / 3.131 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/7.402, allocations: 6.125 kB / 3.131 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/7.403, allocations: 37.94 kB / 3.131 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/7.403, allocations: 36.94 kB / 3.131 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/7.403, allocations: 28.44 kB / 3.131 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003395/7.403, allocations: 319.7 kB / 3.131 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001044/7.404, allocations: 262.8 kB / 3.131 GB, free: 130.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.001871/7.406, allocations: 1.223 MB / 3.133 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007101/7.407, allocations: 398.6 kB / 3.133 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/7.407, allocations: 0 / 3.133 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/7.407, allocations: 205.4 kB / 3.133 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/7.409, allocations: 406.3 kB / 3.134 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/7.412, allocations: 1.229 MB / 3.135 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/7.413, allocations: 1.073 MB / 3.136 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.855e-06/7.413, allocations: 0 / 3.136 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.0322/7.446, allocations: 18.93 MB / 3.154 GB, free: 128.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)