Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.6981/0.6981, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001228/0.001227, allocations: 185.2 kB / 164.4 MB, free: 6.852 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.779/1.779, allocations: 205.1 MB / 399.1 MB, free: 6.129 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.001274/0.001275, allocations: 86.53 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.755e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 76.76 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.471/5.655, allocations: 2.152 GB / 2.773 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.656, allocations: 88.7 kB / 2.773 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.161/8.817, allocations: 0.7562 GB / 3.53 GB, free: 45.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002569/8.817, allocations: 47.62 kB / 3.53 GB, free: 45.5 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.005572/8.823, allocations: 1.552 MB / 3.531 GB, free: 43.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/8.823, allocations: 8.031 kB / 3.531 GB, free: 43.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/8.827, allocations: 0.5111 MB / 3.532 GB, free: 43.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/8.83, allocations: 1.185 MB / 3.533 GB, free: 42.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/8.83, allocations: 39.94 kB / 3.533 GB, free: 42.15 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/8.831, allocations: 72 kB / 3.533 GB, free: 42.08 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/8.832, allocations: 0.9649 MB / 3.534 GB, free: 41.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/8.834, allocations: 1.09 MB / 3.535 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/8.834, allocations: 0 / 3.535 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/8.834, allocations: 0 / 3.535 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/8.834, allocations: 42.11 kB / 3.535 GB, free: 39.94 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/8.841, allocations: 3.992 MB / 3.539 GB, free: 35.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/8.841, allocations: 464.9 kB / 3.539 GB, free: 35.27 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/8.842, allocations: 417.3 kB / 3.54 GB, free: 34.86 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/8.842, allocations: 469 kB / 3.54 GB, free: 34.31 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/8.842, allocations: 47.22 kB / 3.54 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/8.842, allocations: 0 / 3.54 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.004213/8.846, allocations: 1.931 MB / 3.542 GB, free: 32.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/8.846, allocations: 56.06 kB / 3.542 GB, free: 32.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/8.847, allocations: 0.622 MB / 3.543 GB, free: 31.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/8.847, allocations: 25.7 kB / 3.543 GB, free: 31.54 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/8.847, allocations: 459.6 kB / 3.543 GB, free: 31.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/8.848, allocations: 260.1 kB / 3.543 GB, free: 30.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/8.848, allocations: 0 / 3.543 GB, free: 30.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/8.848, allocations: 341.9 kB / 3.544 GB, free: 30.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/8.848, allocations: 285.9 kB / 3.544 GB, free: 30.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/8.849, allocations: 482.1 kB / 3.544 GB, free: 29.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/8.849, allocations: 388.3 kB / 3.545 GB, free: 29.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/8.849, allocations: 0 / 3.545 GB, free: 29.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001121/8.85, allocations: 0.8686 MB / 3.546 GB, free: 28.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/8.85, allocations: 8 kB / 3.546 GB, free: 28.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/8.85, allocations: 4 kB / 3.546 GB, free: 28.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/8.85, allocations: 11.98 kB / 3.546 GB, free: 28.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/8.851, allocations: 163.8 kB / 3.546 GB, free: 28.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/8.851, allocations: 8.094 kB / 3.546 GB, free: 28.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/8.852, allocations: 59.77 kB / 3.546 GB, free: 28.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/8.852, allocations: 32 kB / 3.546 GB, free: 28.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0001845/8.852, allocations: 132.6 kB / 3.546 GB, free: 27.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/8.853, allocations: 102.8 kB / 3.546 GB, free: 27.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/8.853, allocations: 118.1 kB / 3.546 GB, free: 27.76 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/8.853, allocations: 8 kB / 3.546 GB, free: 27.75 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/8.853, allocations: 3.984 kB / 3.546 GB, free: 27.75 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/8.854, allocations: 0.9522 MB / 3.547 GB, free: 26.72 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/8.858, allocations: 2.349 MB / 3.55 GB, free: 24.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/8.858, allocations: 8.156 kB / 3.55 GB, free: 24.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/8.858, allocations: 143.8 kB / 3.55 GB, free: 24.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/8.859, allocations: 93.66 kB / 3.55 GB, free: 24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/8.859, allocations: 19.98 kB / 3.55 GB, free: 23.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/8.86, allocations: 2.746 MB / 3.552 GB, free: 21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/8.861, allocations: 7.938 kB / 3.552 GB, free: 20.99 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002062/8.863, allocations: 1.775 MB / 3.554 GB, free: 18.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/8.863, allocations: 287.8 kB / 3.554 GB, free: 18.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/8.863, allocations: 8 kB / 3.554 GB, free: 18.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/8.865, allocations: 63.78 kB / 3.555 GB, free: 18.61 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/8.865, allocations: 60.22 kB / 3.555 GB, free: 18.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/8.865, allocations: 35.98 kB / 3.555 GB, free: 18.51 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006434/8.865, allocations: 483.1 kB / 3.555 GB, free: 18.05 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0017/8.867, allocations: 463.9 kB / 3.556 GB, free: 17.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/8.87, allocations: 1.902 MB / 3.557 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001144/8.871, allocations: 0.7009 MB / 3.558 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/8.871, allocations: 0 / 3.558 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/8.871, allocations: 0.5659 MB / 3.559 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/8.875, allocations: 0.6241 MB / 3.559 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/8.878, allocations: 2.083 MB / 3.561 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009855/8.879, allocations: 1.368 MB / 3.563 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of SimCode: time 2.174e-06/8.88, allocations: 0 / 3.563 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of Templates: time 0.4428/9.322, allocations: 30.49 MB / 3.592 GB, free: 161.9 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)