Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.8656/0.8656, allocations: 132.4 MB / 139.7 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001284/0.001285, allocations: 168.5 kB / 171.6 MB, free: 4.984 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.584/1.584, allocations: 170.5 MB / 373.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 108 kB / 444.4 MB, free: 2.336 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1656/0.1657, allocations: 73.4 MB / 0.666 GB, free: 50.78 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.816/4.982, allocations: 2.141 GB / 2.807 GB, free: 213.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/4.982, allocations: 91.78 kB / 2.807 GB, free: 213.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.775/6.757, allocations: 478.7 MB / 3.275 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001697/6.757, allocations: 35.42 kB / 3.275 GB, free: 113.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00493/6.762, allocations: 1.506 MB / 3.276 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/6.762, allocations: 10.72 kB / 3.276 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/6.765, allocations: 281.2 kB / 3.277 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/6.768, allocations: 0.916 MB / 3.278 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/6.768, allocations: 30.75 kB / 3.278 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/6.769, allocations: 65.22 kB / 3.278 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002187/6.771, allocations: 0.711 MB / 3.278 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/6.773, allocations: 0.8967 MB / 3.279 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/6.773, allocations: 0 / 3.279 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/6.773, allocations: 3.844 kB / 3.279 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/6.773, allocations: 31.75 kB / 3.279 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007179/6.781, allocations: 3.42 MB / 3.283 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/6.782, allocations: 0.5611 MB / 3.283 GB, free: 111 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/6.782, allocations: 251.3 kB / 3.283 GB, free: 111 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/6.782, allocations: 95.86 kB / 3.283 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/6.782, allocations: 43.44 kB / 3.284 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.258e-06/6.782, allocations: 0 / 3.284 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001768/6.784, allocations: 0.5934 MB / 3.284 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/6.784, allocations: 161.5 kB / 3.284 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/6.785, allocations: 0.5797 MB / 3.285 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/6.785, allocations: 36.36 kB / 3.285 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/6.786, allocations: 416.1 kB / 3.285 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/6.786, allocations: 200.1 kB / 3.285 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/6.786, allocations: 0 / 3.285 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/6.786, allocations: 338.4 kB / 3.286 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/6.786, allocations: 209.7 kB / 3.286 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/6.787, allocations: 357.8 kB / 3.286 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/6.787, allocations: 268.3 kB / 3.287 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/6.787, allocations: 3.125 kB / 3.287 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00113/6.788, allocations: 0.6504 MB / 3.287 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/6.789, allocations: 0.7927 MB / 3.288 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/6.789, allocations: 7.25 kB / 3.288 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/6.789, allocations: 3.906 kB / 3.288 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/6.79, allocations: 263.9 kB / 3.288 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/6.792, allocations: 1.35 MB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/6.793, allocations: 111.8 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/6.793, allocations: 19.41 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/6.793, allocations: 8.156 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009139/6.794, allocations: 0.5364 MB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/6.794, allocations: 3.969 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.555e-06/6.794, allocations: 3.938 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/6.795, allocations: 242.6 kB / 3.29 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/6.796, allocations: 1.355 MB / 3.292 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/6.798, allocations: 91.22 kB / 3.292 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/6.798, allocations: 19.88 kB / 3.292 GB, free: 106.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (81): * Single equations (assignments): 79 * 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.000337/6.798, allocations: 121.3 kB / 3.292 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/6.798, allocations: 95.06 kB / 3.292 GB, free: 106 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/6.8, allocations: 0.5952 MB / 3.293 GB, free: 106 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/6.8, allocations: 7.375 kB / 3.293 GB, free: 106 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.8, allocations: 0 / 3.293 GB, free: 106 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/6.801, allocations: 0.5718 MB / 3.293 GB, free: 105.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/6.804, allocations: 1.447 MB / 3.295 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/6.804, allocations: 0 / 3.295 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/6.805, allocations: 157 kB / 3.295 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/6.805, allocations: 43.52 kB / 3.295 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/6.806, allocations: 10.61 kB / 3.295 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/6.807, allocations: 1.321 MB / 3.296 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.807, allocations: 0 / 3.296 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00169/6.808, allocations: 1.015 MB / 3.297 GB, free: 104 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/6.809, allocations: 257.8 kB / 3.297 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/6.809, allocations: 4.906 kB / 3.297 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/6.81, allocations: 81.06 kB / 3.297 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/6.81, allocations: 29.7 kB / 3.297 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/6.811, allocations: 30.67 kB / 3.298 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006984/6.811, allocations: 456.6 kB / 3.298 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002578/6.814, allocations: 0.6192 MB / 3.299 GB, free: 103.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (60): * Single equations (assignments): 59 * 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.003126/6.817, allocations: 1.597 MB / 3.3 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003318/6.82, allocations: 1.097 MB / 3.301 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/6.82, allocations: 3.906 kB / 3.301 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006861/6.821, allocations: 366.4 kB / 3.302 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/6.823, allocations: 366.9 kB / 3.302 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/6.828, allocations: 1.589 MB / 3.303 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/6.829, allocations: 1.215 MB / 3.305 GB, free: 102 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/6.829, allocations: 0 / 3.305 GB, free: 102 MB / 0.6198 GB Notification: Performance of Templates: time 0.04804/6.877, allocations: 26.92 MB / 3.331 GB, free: 101.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)