Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7913/0.7913, allocations: 141.8 MB / 149.1 MB, free: 1.438 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 174.9 kB / 182 MB, free: 2.262 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 436 MB, free: 8.062 MB / 322.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 96.09 kB / 0.507 GB, free: 7.574 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 279.8 kB / 0.5884 GB, free: 98.6 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.08e-05, allocations: 0 / 0.6759 GB, free: 9.66 MB / 450.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5334, allocations: 82.75 MB / 0.7567 GB, free: 68.84 MB / 0.5028 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.281/4.814, allocations: 1.89 GB / 2.647 GB, free: 195.9 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/4.814, allocations: 87.27 kB / 2.647 GB, free: 195.8 MB / 0.6903 GB Notification: Performance of FrontEnd: time 2.013/6.827, allocations: 0.5952 GB / 3.242 GB, free: 116.4 MB / 0.6903 GB Notification: Performance of Transformations before backend: time 0.0001051/6.827, allocations: 30.83 kB / 3.242 GB, free: 116.4 MB / 0.6903 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003313/6.831, allocations: 1.131 MB / 3.243 GB, free: 115.5 MB / 0.6903 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/6.831, allocations: 8.062 kB / 3.243 GB, free: 115.5 MB / 0.6903 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/6.832, allocations: 223.4 kB / 3.243 GB, free: 115.4 MB / 0.6903 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/6.834, allocations: 0.66 MB / 3.244 GB, free: 114.7 MB / 0.6903 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/6.834, allocations: 24 kB / 3.244 GB, free: 114.6 MB / 0.6903 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/6.834, allocations: 59.62 kB / 3.244 GB, free: 114.6 MB / 0.6903 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001154/6.836, allocations: 0.5155 MB / 3.245 GB, free: 114.1 MB / 0.6903 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/6.837, allocations: 0.7955 MB / 3.245 GB, free: 113.2 MB / 0.6903 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/6.837, allocations: 7.828 kB / 3.245 GB, free: 113.2 MB / 0.6903 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/6.837, allocations: 4 kB / 3.245 GB, free: 113.2 MB / 0.6903 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/6.837, allocations: 25.31 kB / 3.245 GB, free: 113.2 MB / 0.6903 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/6.842, allocations: 4.453 MB / 3.25 GB, free: 108.5 MB / 0.6903 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/6.842, allocations: 447.6 kB / 3.25 GB, free: 108.1 MB / 0.6903 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/6.843, allocations: 225.6 kB / 3.25 GB, free: 107.8 MB / 0.6903 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/6.843, allocations: 100.7 kB / 3.25 GB, free: 107.7 MB / 0.6903 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/6.843, allocations: 46.41 kB / 3.251 GB, free: 107.7 MB / 0.6903 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/6.843, allocations: 0 / 3.251 GB, free: 107.7 MB / 0.6903 GB Notification: Performance of matching and sorting (n=45): time 0.002742/6.846, allocations: 1.338 MB / 3.252 GB, free: 106.3 MB / 0.6903 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/6.846, allocations: 112.7 kB / 3.252 GB, free: 106.1 MB / 0.6903 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/6.846, allocations: 434.3 kB / 3.252 GB, free: 105.7 MB / 0.6903 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/6.846, allocations: 25.7 kB / 3.252 GB, free: 105.7 MB / 0.6903 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/6.846, allocations: 346.4 kB / 3.253 GB, free: 105.3 MB / 0.6903 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/6.846, allocations: 161.6 kB / 3.253 GB, free: 105.2 MB / 0.6903 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/6.847, allocations: 0 / 3.253 GB, free: 105.2 MB / 0.6903 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/6.847, allocations: 370.8 kB / 3.253 GB, free: 104.8 MB / 0.6903 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/6.847, allocations: 169.3 kB / 3.253 GB, free: 104.6 MB / 0.6903 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/6.847, allocations: 405.6 kB / 3.254 GB, free: 104.1 MB / 0.6903 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/6.849, allocations: 0.6511 MB / 3.254 GB, free: 103.5 MB / 0.6903 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/6.849, allocations: 0 / 3.254 GB, free: 103.5 MB / 0.6903 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008141/6.85, allocations: 0.572 MB / 3.255 GB, free: 102.9 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/6.85, allocations: 10.41 kB / 3.255 GB, free: 102.9 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/6.85, allocations: 11.98 kB / 3.255 GB, free: 102.9 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/6.85, allocations: 15.06 kB / 3.255 GB, free: 102.9 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/6.85, allocations: 123.8 kB / 3.255 GB, free: 102.8 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/6.85, allocations: 12 kB / 3.255 GB, free: 102.7 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/6.851, allocations: 38.72 kB / 3.255 GB, free: 102.7 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/6.851, allocations: 32 kB / 3.255 GB, free: 102.7 MB / 0.6903 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001347/6.851, allocations: 120.8 kB / 3.255 GB, free: 102.6 MB / 0.6903 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/6.851, allocations: 66.25 kB / 3.255 GB, free: 102.5 MB / 0.6903 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/6.851, allocations: 80.94 kB / 3.255 GB, free: 102.4 MB / 0.6903 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/6.851, allocations: 8 kB / 3.255 GB, free: 102.4 MB / 0.6903 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/6.851, allocations: 0 / 3.255 GB, free: 102.4 MB / 0.6903 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005343/6.852, allocations: 0.6612 MB / 3.256 GB, free: 101.7 MB / 0.6903 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/6.854, allocations: 1.496 MB / 3.258 GB, free: 100.1 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/6.854, allocations: 4 kB / 3.258 GB, free: 100.1 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/6.854, allocations: 98.78 kB / 3.258 GB, free: 100 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/6.855, allocations: 8 kB / 3.258 GB, free: 99.99 MB / 0.6903 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/6.855, allocations: 15.91 kB / 3.258 GB, free: 99.98 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/6.855, allocations: 11.94 kB / 3.258 GB, free: 99.96 MB / 0.6903 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.855, allocations: 4 kB / 3.258 GB, free: 99.96 MB / 0.6903 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009566/6.856, allocations: 1.009 MB / 3.259 GB, free: 98.8 MB / 0.6903 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/6.856, allocations: 188.2 kB / 3.259 GB, free: 98.6 MB / 0.6903 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/6.856, allocations: 8 kB / 3.259 GB, free: 98.59 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/6.856, allocations: 27.66 kB / 3.259 GB, free: 98.57 MB / 0.6903 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/6.856, allocations: 35.81 kB / 3.259 GB, free: 98.54 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/6.857, allocations: 19.98 kB / 3.259 GB, free: 98.52 MB / 0.6903 GB Notification: Performance of sort global known variables: time 0.0003666/6.857, allocations: 330.2 kB / 3.259 GB, free: 98.2 MB / 0.6903 GB Notification: Performance of remove unused functions: time 0.001407/6.858, allocations: 308 kB / 3.26 GB, free: 97.9 MB / 0.6903 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.003555/6.862, allocations: 1.878 MB / 3.261 GB, free: 96.25 MB / 0.6903 GB Notification: Performance of simCode: created initialization part: time 0.000827/6.863, allocations: 440.1 kB / 3.262 GB, free: 95.82 MB / 0.6903 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/6.863, allocations: 4 kB / 3.262 GB, free: 95.81 MB / 0.6903 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/6.863, allocations: 198.1 kB / 3.262 GB, free: 95.62 MB / 0.6903 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/6.864, allocations: 284.3 kB / 3.262 GB, free: 95.35 MB / 0.6903 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/6.867, allocations: 1.253 MB / 3.264 GB, free: 94.03 MB / 0.6903 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/6.868, allocations: 1.103 MB / 3.265 GB, free: 92.9 MB / 0.6903 GB Notification: Performance of SimCode: time 2.134e-06/6.868, allocations: 4 kB / 3.265 GB, free: 92.89 MB / 0.6903 GB Notification: Performance of Templates: time 0.03314/6.901, allocations: 20.11 MB / 3.284 GB, free: 73.05 MB / 0.6903 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)