Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7502/0.7502, allocations: 141.8 MB / 149.1 MB, free: 3.309 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 178.2 kB / 181.9 MB, free: 15.11 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.3 MB / 436 MB, free: 8.207 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 101.2 kB / 0.507 GB, free: 24.43 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 276.8 kB / 0.5884 GB, free: 11.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.051e-05/1.056e-05, allocations: 4 kB / 0.6759 GB, free: 1.711 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5392, allocations: 82.76 MB / 0.7567 GB, free: 111.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.796/5.335, allocations: 1.93 GB / 2.687 GB, free: 140.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/5.335, allocations: 87.8 kB / 2.687 GB, free: 140.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.409/7.745, allocations: 0.6276 GB / 3.315 GB, free: 38.09 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002186/7.745, allocations: 35.98 kB / 3.315 GB, free: 38.06 MB / 0.6982 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.00642/7.751, allocations: 1.581 MB / 3.316 GB, free: 36.43 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/7.752, allocations: 11.97 kB / 3.316 GB, free: 36.42 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/7.755, allocations: 393.8 kB / 3.316 GB, free: 36.03 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/7.76, allocations: 1.219 MB / 3.318 GB, free: 34.77 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/7.76, allocations: 32 kB / 3.318 GB, free: 34.74 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/7.76, allocations: 60 kB / 3.318 GB, free: 34.68 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/7.762, allocations: 0.7107 MB / 3.318 GB, free: 33.97 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/7.764, allocations: 0.9486 MB / 3.319 GB, free: 32.96 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/7.764, allocations: 3.938 kB / 3.319 GB, free: 32.95 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/7.764, allocations: 7.984 kB / 3.319 GB, free: 32.95 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/7.764, allocations: 37.98 kB / 3.319 GB, free: 32.91 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006724/7.771, allocations: 5.038 MB / 3.324 GB, free: 27.54 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/7.772, allocations: 0.6446 MB / 3.325 GB, free: 26.89 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/7.772, allocations: 314.8 kB / 3.325 GB, free: 26.58 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/7.773, allocations: 319.9 kB / 3.326 GB, free: 26.21 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/7.773, allocations: 39.22 kB / 3.326 GB, free: 26.16 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=70): time 2.986e-06/7.773, allocations: 0 / 3.326 GB, free: 26.16 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70): time 0.001794/7.775, allocations: 0.7447 MB / 3.326 GB, free: 25.41 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/7.775, allocations: 166.9 kB / 3.326 GB, free: 25.21 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/7.776, allocations: 0.592 MB / 3.327 GB, free: 24.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/7.776, allocations: 25.89 kB / 3.327 GB, free: 24.57 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/7.776, allocations: 419.3 kB / 3.328 GB, free: 24.15 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/7.776, allocations: 236.4 kB / 3.328 GB, free: 23.92 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/7.776, allocations: 0 / 3.328 GB, free: 23.92 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001074/7.776, allocations: 337.9 kB / 3.328 GB, free: 23.58 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/7.777, allocations: 225.5 kB / 3.328 GB, free: 23.36 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/7.777, allocations: 456.6 kB / 3.329 GB, free: 22.82 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/7.778, allocations: 370.8 kB / 3.329 GB, free: 22.46 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/7.778, allocations: 4 kB / 3.329 GB, free: 22.46 MB / 0.6982 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001264/7.779, allocations: 0.8107 MB / 3.33 GB, free: 21.64 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004707/7.779, allocations: 1.66 MB / 3.331 GB, free: 19.85 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/7.78, allocations: 4 kB / 3.331 GB, free: 19.85 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/7.78, allocations: 11.98 kB / 3.331 GB, free: 19.84 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/7.781, allocations: 275.6 kB / 3.332 GB, free: 19.57 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/7.782, allocations: 1.346 MB / 3.333 GB, free: 18.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/7.784, allocations: 95.47 kB / 3.333 GB, free: 18.01 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/7.784, allocations: 35.98 kB / 3.333 GB, free: 17.97 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/7.784, allocations: 8.938 kB / 3.333 GB, free: 17.96 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/7.785, allocations: 0.6775 MB / 3.334 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/7.785, allocations: 8.547 kB / 3.334 GB, free: 17.28 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/7.785, allocations: 15.94 kB / 3.334 GB, free: 17.27 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/7.786, allocations: 263.6 kB / 3.334 GB, free: 17.01 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/7.787, allocations: 1.357 MB / 3.335 GB, free: 15.53 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/7.789, allocations: 95.47 kB / 3.336 GB, free: 15.44 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/7.789, allocations: 32 kB / 3.336 GB, free: 15.41 MB / 0.6982 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.0002352/7.789, allocations: 125.7 kB / 3.336 GB, free: 15.28 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/7.789, allocations: 98.78 kB / 3.336 GB, free: 15.18 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/7.791, allocations: 0.8111 MB / 3.337 GB, free: 14.36 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/7.791, allocations: 8 kB / 3.337 GB, free: 14.35 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/7.791, allocations: 0 / 3.337 GB, free: 14.35 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/7.792, allocations: 0.7455 MB / 3.337 GB, free: 13.57 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/7.795, allocations: 1.87 MB / 3.339 GB, free: 11.62 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/7.795, allocations: 4 kB / 3.339 GB, free: 11.62 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/7.796, allocations: 160 kB / 3.339 GB, free: 11.46 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/7.797, allocations: 44.81 kB / 3.339 GB, free: 11.42 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/7.797, allocations: 8 kB / 3.339 GB, free: 11.41 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/7.798, allocations: 1.335 MB / 3.341 GB, free: 9.957 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/7.798, allocations: 4 kB / 3.341 GB, free: 9.953 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001983/7.8, allocations: 1.367 MB / 3.342 GB, free: 8.504 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/7.8, allocations: 251.7 kB / 3.342 GB, free: 8.238 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/7.801, allocations: 4 kB / 3.342 GB, free: 8.234 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/7.801, allocations: 71.78 kB / 3.342 GB, free: 8.164 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/7.801, allocations: 36.61 kB / 3.342 GB, free: 8.129 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/7.802, allocations: 23.98 kB / 3.342 GB, free: 8.105 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006017/7.802, allocations: 463.8 kB / 3.343 GB, free: 7.641 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002061/7.804, allocations: 0.6621 MB / 3.343 GB, free: 6.977 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.002774/7.807, allocations: 2.003 MB / 3.345 GB, free: 4.895 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003292/7.81, allocations: 1.172 MB / 3.347 GB, free: 3.723 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.81, allocations: 8.125 kB / 3.347 GB, free: 3.715 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/7.811, allocations: 425.4 kB / 3.347 GB, free: 3.293 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/7.813, allocations: 416 kB / 3.347 GB, free: 2.887 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/7.817, allocations: 1.679 MB / 3.349 GB, free: 1.145 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4271/8.244, allocations: 1.251 MB / 3.35 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of SimCode: time 1.783e-06/8.244, allocations: 0 / 3.35 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of Templates: time 0.05555/8.3, allocations: 29.9 MB / 3.379 GB, free: 152.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)