Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5193/0.5193, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001362/0.001362, allocations: 183.8 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.457/1.457, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001732/0.001732, allocations: 108.9 kB / 381 MB, free: 18.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.516e-06, allocations: 224 / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 61.52 MB / 0.4981 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.49/10.66, allocations: 5.304 GB / 5.802 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004375/10.66, allocations: 86.98 kB / 5.802 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.449/12.11, allocations: 405.9 MB / 6.199 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001636/12.11, allocations: 38.34 kB / 6.199 GB, free: 84.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004508/12.11, allocations: 1.509 MB / 6.2 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/12.11, allocations: 15.78 kB / 6.2 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/12.11, allocations: 176.8 kB / 6.2 GB, free: 84.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.122/12.23, allocations: 40.69 MB / 6.24 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/12.23, allocations: 32.88 kB / 6.24 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/12.23, allocations: 66.44 kB / 6.24 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001974/12.24, allocations: 0.9095 MB / 6.241 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/12.24, allocations: 0.9362 MB / 6.242 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/12.24, allocations: 0 / 6.242 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/12.24, allocations: 7.766 kB / 6.242 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/12.24, allocations: 32.94 kB / 6.242 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007094/12.25, allocations: 3.501 MB / 6.245 GB, free: 79.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/12.25, allocations: 0.6571 MB / 6.246 GB, free: 79.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/12.25, allocations: 296 kB / 6.246 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/12.25, allocations: 275 kB / 6.247 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/12.25, allocations: 48.38 kB / 6.247 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.176e-06/12.25, allocations: 0 / 6.247 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.005947/12.25, allocations: 2.133 MB / 6.249 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/12.25, allocations: 164.5 kB / 6.249 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/12.25, allocations: 0.6317 MB / 6.25 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/12.25, allocations: 30.17 kB / 6.25 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/12.25, allocations: 419.3 kB / 6.25 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/12.25, allocations: 256.4 kB / 6.25 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/12.25, allocations: 1.25 kB / 6.25 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001/12.26, allocations: 336.3 kB / 6.251 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/12.26, allocations: 292.9 kB / 6.251 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/12.26, allocations: 461.5 kB / 6.251 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/12.26, allocations: 496.4 kB / 6.252 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/12.26, allocations: 3.719 kB / 6.252 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002358/12.26, allocations: 0.9974 MB / 6.253 GB, free: 77.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003287/12.26, allocations: 1.055 MB / 6.254 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/12.26, allocations: 2.531 kB / 6.254 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/12.26, allocations: 6.719 kB / 6.254 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/12.26, allocations: 304.5 kB / 6.254 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/12.26, allocations: 1.354 MB / 6.255 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/12.26, allocations: 81.52 kB / 6.255 GB, free: 75.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/12.26, allocations: 35.67 kB / 6.255 GB, free: 75.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/12.26, allocations: 4.219 kB / 6.255 GB, free: 75.14 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/12.27, allocations: 0.8535 MB / 6.256 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/12.27, allocations: 5.375 kB / 6.256 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/12.27, allocations: 6.438 kB / 6.256 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/12.27, allocations: 307.8 kB / 6.257 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/12.27, allocations: 1.352 MB / 6.258 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/12.27, allocations: 73.38 kB / 6.258 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/12.27, allocations: 36.86 kB / 6.258 GB, free: 73.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (vol1.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0003262/12.27, allocations: 128.9 kB / 6.258 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/12.27, allocations: 100.9 kB / 6.258 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/12.28, allocations: 0.9388 MB / 6.259 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/12.28, allocations: 9.375 kB / 6.259 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/12.28, allocations: 0 / 6.259 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/12.28, allocations: 3.703 kB / 6.259 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/12.28, allocations: 1.894 MB / 6.261 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/12.28, allocations: 0 / 6.261 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/12.28, allocations: 169.9 kB / 6.261 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/12.28, allocations: 44.73 kB / 6.261 GB, free: 73.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/12.28, allocations: 7.719 kB / 6.261 GB, free: 73.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/12.28, allocations: 1.33 MB / 6.263 GB, free: 72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/12.28, allocations: 0 / 6.263 GB, free: 72 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003412/12.29, allocations: 1.309 MB / 6.264 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008793/12.29, allocations: 276.2 kB / 6.264 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/12.29, allocations: 4.938 kB / 6.264 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/12.29, allocations: 63.34 kB / 6.264 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/12.29, allocations: 40.31 kB / 6.264 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/12.29, allocations: 35.67 kB / 6.264 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001259/12.29, allocations: 495.7 kB / 6.265 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003824/12.29, allocations: 0.6803 MB / 6.265 GB, free: 71.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T,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 (79): * Single equations (assignments): 78 * 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.004396/12.3, allocations: 1.442 MB / 6.267 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004654/12.3, allocations: 1.406 MB / 6.268 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/12.3, allocations: 2.781 kB / 6.268 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/12.3, allocations: 461.1 kB / 6.269 GB, free: 70.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/12.31, allocations: 370.2 kB / 6.269 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/12.31, allocations: 1.744 MB / 6.271 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/12.32, allocations: 1.26 MB / 6.272 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.964e-06/12.32, allocations: 5.062 kB / 6.272 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.06984/12.39, allocations: 30.87 MB / 6.302 GB, free: 67.95 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)