Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 192.3 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.457/0.457, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 90.41 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.565e-06/7.745e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3677, allocations: 72.31 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.711/4.079, allocations: 1.923 GB / 2.476 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004306/4.079, allocations: 88.7 kB / 2.476 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.106/6.185, allocations: 0.63 GB / 3.106 GB, free: 86.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001147/6.185, allocations: 37.55 kB / 3.106 GB, free: 86.33 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003105/6.188, allocations: 1.583 MB / 3.108 GB, free: 85.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/6.188, allocations: 12.84 kB / 3.108 GB, free: 85.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/6.19, allocations: 391.9 kB / 3.108 GB, free: 85.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/6.193, allocations: 1.237 MB / 3.109 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/6.193, allocations: 32.31 kB / 3.11 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/6.193, allocations: 66.94 kB / 3.11 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/6.194, allocations: 0.7029 MB / 3.11 GB, free: 85.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/6.196, allocations: 0.9499 MB / 3.111 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/6.196, allocations: 9.531 kB / 3.111 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/6.196, allocations: 0 / 3.111 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/6.196, allocations: 34.31 kB / 3.111 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/6.201, allocations: 5.126 MB / 3.116 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/6.202, allocations: 0.6352 MB / 3.117 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/6.202, allocations: 319 kB / 3.117 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/6.203, allocations: 317.4 kB / 3.117 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/6.203, allocations: 46.28 kB / 3.117 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/6.203, allocations: 0 / 3.117 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001594/6.204, allocations: 0.7478 MB / 3.118 GB, free: 81.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/6.204, allocations: 165.7 kB / 3.118 GB, free: 81.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/6.205, allocations: 0.5926 MB / 3.119 GB, free: 81.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/6.205, allocations: 25.7 kB / 3.119 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/6.205, allocations: 411 kB / 3.119 GB, free: 81.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/6.205, allocations: 245.2 kB / 3.12 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/6.205, allocations: 0 / 3.12 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/6.205, allocations: 336.7 kB / 3.12 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/6.206, allocations: 230 kB / 3.12 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/6.206, allocations: 465.6 kB / 3.121 GB, free: 80.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/6.207, allocations: 368.4 kB / 3.121 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/6.207, allocations: 0 / 3.121 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001317/6.208, allocations: 0.8152 MB / 3.122 GB, free: 80.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002957/6.208, allocations: 1.668 MB / 3.123 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/6.208, allocations: 3.906 kB / 3.123 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/6.208, allocations: 10.88 kB / 3.123 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/6.21, allocations: 263 kB / 3.124 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/6.211, allocations: 1.351 MB / 3.125 GB, free: 77.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/6.212, allocations: 111.4 kB / 3.125 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/6.212, allocations: 34.41 kB / 3.125 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/6.212, allocations: 3.125 kB / 3.125 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/6.213, allocations: 0.683 MB / 3.126 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/6.213, allocations: 6.5 kB / 3.126 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/6.213, allocations: 10.34 kB / 3.126 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/6.215, allocations: 262.3 kB / 3.126 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/6.216, allocations: 1.35 MB / 3.127 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/6.217, allocations: 101 kB / 3.127 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/6.217, allocations: 35.11 kB / 3.127 GB, free: 76.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/6.217, allocations: 126.8 kB / 3.128 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/6.217, allocations: 104.1 kB / 3.128 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/6.219, allocations: 0.8085 MB / 3.128 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/6.219, allocations: 7.438 kB / 3.129 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/6.219, allocations: 3.906 kB / 3.129 GB, free: 75.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/6.22, allocations: 0.7411 MB / 3.129 GB, free: 75.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/6.223, allocations: 1.881 MB / 3.131 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/6.223, allocations: 3.938 kB / 3.131 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/6.224, allocations: 149.3 kB / 3.131 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/6.224, allocations: 45.25 kB / 3.131 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/6.224, allocations: 11.14 kB / 3.131 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/6.225, allocations: 1.332 MB / 3.133 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/6.225, allocations: 1.641 kB / 3.133 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001876/6.227, allocations: 1.333 MB / 3.134 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/6.227, allocations: 255.5 kB / 3.134 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/6.228, allocations: 7.375 kB / 3.134 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/6.228, allocations: 62.94 kB / 3.134 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/6.228, allocations: 42.12 kB / 3.134 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/6.229, allocations: 29.23 kB / 3.134 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005462/6.229, allocations: 459.8 kB / 3.135 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002073/6.231, allocations: 0.6607 MB / 3.135 GB, free: 73.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002644/6.234, allocations: 2.006 MB / 3.137 GB, free: 73.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003683/6.237, allocations: 1.179 MB / 3.138 GB, free: 73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/6.238, allocations: 3.844 kB / 3.138 GB, free: 73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/6.238, allocations: 425.7 kB / 3.139 GB, free: 72.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/6.241, allocations: 415.4 kB / 3.139 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/6.244, allocations: 1.684 MB / 3.141 GB, free: 72.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008014/6.245, allocations: 1.254 MB / 3.142 GB, free: 71.69 MB / 0.6042 GB Notification: Performance of SimCode: time 1.713e-06/6.245, allocations: 0 / 3.142 GB, free: 71.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.04855/6.294, allocations: 29.95 MB / 3.171 GB, free: 71.06 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)