Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7248/0.7248, allocations: 127.4 MB / 134.6 MB, free: 8.117 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001449, allocations: 185.2 kB / 164.4 MB, free: 11.46 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 399.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 86.08 kB / 476.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.945e-06, allocations: 0 / 0.546 GB, free: 64.73 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 76.76 MB / 0.6209 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.077/5.26, allocations: 2.162 GB / 2.783 GB, free: 98.34 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.26, allocations: 89.41 kB / 2.783 GB, free: 98.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.409/7.669, allocations: 0.5867 GB / 3.369 GB, free: 100.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001361/7.669, allocations: 25.17 kB / 3.369 GB, free: 100.7 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003742/7.673, allocations: 1.128 MB / 3.37 GB, free: 100.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/7.673, allocations: 10.91 kB / 3.371 GB, free: 100.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/7.674, allocations: 224 kB / 3.371 GB, free: 100.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/7.676, allocations: 0.6897 MB / 3.371 GB, free: 100 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/7.676, allocations: 23.56 kB / 3.371 GB, free: 100 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/7.676, allocations: 45.19 kB / 3.371 GB, free: 100 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/7.677, allocations: 0.5308 MB / 3.372 GB, free: 100 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/7.678, allocations: 0.7838 MB / 3.373 GB, free: 99.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/7.678, allocations: 9.844 kB / 3.373 GB, free: 99.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/7.678, allocations: 0 / 3.373 GB, free: 99.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/7.678, allocations: 32.56 kB / 3.373 GB, free: 99.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/7.682, allocations: 4.204 MB / 3.377 GB, free: 96.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/7.683, allocations: 436.5 kB / 3.377 GB, free: 96.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/7.683, allocations: 204.8 kB / 3.377 GB, free: 96.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/7.684, allocations: 190 kB / 3.378 GB, free: 96.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/7.684, allocations: 41.28 kB / 3.378 GB, free: 96.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/7.684, allocations: 0 / 3.378 GB, free: 96.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002305/7.686, allocations: 1.088 MB / 3.379 GB, free: 96.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/7.686, allocations: 57.84 kB / 3.379 GB, free: 96.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/7.687, allocations: 437.7 kB / 3.379 GB, free: 96.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/7.687, allocations: 25.7 kB / 3.379 GB, free: 96.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/7.687, allocations: 353 kB / 3.38 GB, free: 95.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/7.687, allocations: 154.7 kB / 3.38 GB, free: 95.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/7.687, allocations: 0 / 3.38 GB, free: 95.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001147/7.687, allocations: 376.7 kB / 3.38 GB, free: 95.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/7.687, allocations: 164.3 kB / 3.38 GB, free: 95.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/7.688, allocations: 386.6 kB / 3.381 GB, free: 95.27 MB / 0.6387 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.00148/7.689, allocations: 0.6366 MB / 3.381 GB, free: 95.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/7.689, allocations: 2.812 kB / 3.381 GB, free: 95.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000793/7.69, allocations: 0.5718 MB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/7.69, allocations: 3.812 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/7.69, allocations: 11.06 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/7.69, allocations: 10.31 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/7.69, allocations: 121.1 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/7.69, allocations: 13.38 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/7.691, allocations: 39.7 kB / 3.382 GB, free: 95.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/7.691, allocations: 28.42 kB / 3.382 GB, free: 95.09 MB / 0.6387 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: 27 * 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 (73): * Single equations (assignments): 73 * 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.0001418/7.691, allocations: 129.2 kB / 3.382 GB, free: 94.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/7.691, allocations: 65.94 kB / 3.382 GB, free: 94.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/7.692, allocations: 69.25 kB / 3.382 GB, free: 94.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/7.692, allocations: 6.031 kB / 3.382 GB, free: 94.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/7.692, allocations: 3.438 kB / 3.382 GB, free: 94.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005985/7.692, allocations: 0.6701 MB / 3.383 GB, free: 94.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/7.694, allocations: 1.293 MB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/7.694, allocations: 3.844 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/7.695, allocations: 100.7 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/7.695, allocations: 6.75 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/7.695, allocations: 16.66 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/7.695, allocations: 12.19 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/7.695, allocations: 8.531 kB / 3.384 GB, free: 94.11 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009473/7.696, allocations: 0.986 MB / 3.385 GB, free: 93.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/7.696, allocations: 182.9 kB / 3.386 GB, free: 93.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/7.696, allocations: 10.59 kB / 3.386 GB, free: 93.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/7.697, allocations: 36.39 kB / 3.386 GB, free: 93.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/7.697, allocations: 33.86 kB / 3.386 GB, free: 93.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/7.697, allocations: 18.69 kB / 3.386 GB, free: 93.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0004027/7.697, allocations: 334.6 kB / 3.386 GB, free: 93.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001414/7.699, allocations: 299.3 kB / 3.386 GB, free: 93.36 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 44 * 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.003127/7.702, allocations: 1.907 MB / 3.388 GB, free: 92.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008651/7.703, allocations: 420 kB / 3.388 GB, free: 92.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/7.703, allocations: 0 / 3.388 GB, free: 92.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/7.703, allocations: 193.2 kB / 3.389 GB, free: 92.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/7.704, allocations: 290.3 kB / 3.389 GB, free: 92.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/7.707, allocations: 1.239 MB / 3.39 GB, free: 92.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/7.708, allocations: 1.114 MB / 3.391 GB, free: 91.75 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/7.708, allocations: 0 / 3.391 GB, free: 91.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.03298/7.741, allocations: 20.31 MB / 3.411 GB, free: 91.3 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)