Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 184.2 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.826/1.826, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 96.27 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 8.953 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4077, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.929/5.337, allocations: 1.971 GB / 3.194 GB, free: 40.95 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/5.337, allocations: 93.12 kB / 3.194 GB, free: 40.86 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.854/8.191, allocations: 0.6307 GB / 3.824 GB, free: 294.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.454e-06/8.191, allocations: 3.281 kB / 3.824 GB, free: 294.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001105/8.191, allocations: 44.19 kB / 3.824 GB, free: 294.7 MB / 1.167 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.003777/8.195, allocations: 1.767 MB / 3.826 GB, free: 293.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/8.195, allocations: 7.312 kB / 3.826 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/8.197, allocations: 366.7 kB / 3.827 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/8.2, allocations: 1.228 MB / 3.828 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/8.2, allocations: 74.22 kB / 3.828 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/8.2, allocations: 114.2 kB / 3.828 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/8.202, allocations: 1.125 MB / 3.829 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/8.202, allocations: 3.938 kB / 3.829 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/8.202, allocations: 43.75 kB / 3.829 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/8.202, allocations: 39.2 kB / 3.829 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/8.203, allocations: 0.8327 MB / 3.83 GB, free: 293.3 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005652/8.209, allocations: 5.144 MB / 3.835 GB, free: 290.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/8.21, allocations: 0.7362 MB / 3.836 GB, free: 290.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/8.211, allocations: 317.2 kB / 3.836 GB, free: 290.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/8.211, allocations: 39 kB / 3.836 GB, free: 290 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.966e-06/8.211, allocations: 0 / 3.836 GB, free: 290 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001979/8.213, allocations: 1.012 MB / 3.837 GB, free: 289.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/8.213, allocations: 162.7 kB / 3.837 GB, free: 289.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/8.214, allocations: 0.7637 MB / 3.838 GB, free: 289.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/8.214, allocations: 45.08 kB / 3.838 GB, free: 289.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/8.214, allocations: 0.5483 MB / 3.838 GB, free: 289.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/8.214, allocations: 258.2 kB / 3.839 GB, free: 288.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/8.214, allocations: 15.19 kB / 3.839 GB, free: 288.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/8.214, allocations: 339.6 kB / 3.839 GB, free: 288.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/8.215, allocations: 267.9 kB / 3.839 GB, free: 288.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/8.215, allocations: 0.493 MB / 3.84 GB, free: 288.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/8.216, allocations: 336.8 kB / 3.84 GB, free: 288 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.216, allocations: 8.828 kB / 3.84 GB, free: 288 MB / 1.167 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001324/8.217, allocations: 0.8668 MB / 3.841 GB, free: 287.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003432/8.217, allocations: 1.673 MB / 3.843 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/8.217, allocations: 6.812 kB / 3.843 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/8.218, allocations: 11.8 kB / 3.843 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/8.219, allocations: 250.5 kB / 3.843 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/8.22, allocations: 1.412 MB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/8.221, allocations: 136 kB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/8.221, allocations: 31.09 kB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/8.221, allocations: 3.844 kB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/8.223, allocations: 0.7481 MB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/8.223, allocations: 2.781 kB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/8.223, allocations: 13.16 kB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/8.224, allocations: 264.4 kB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/8.225, allocations: 1.42 MB / 3.847 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/8.226, allocations: 128.8 kB / 3.847 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/8.226, allocations: 40.64 kB / 3.847 GB, free: 282.6 MB / 1.167 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 () * Number of clocked 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.0007197/8.227, allocations: 364.2 kB / 3.847 GB, free: 282.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/8.227, allocations: 112.5 kB / 3.847 GB, free: 282.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/8.229, allocations: 0.8451 MB / 3.848 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/8.229, allocations: 10.5 kB / 3.848 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/8.229, allocations: 3.953 kB / 3.848 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/8.23, allocations: 0.7621 MB / 3.849 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/8.234, allocations: 2.018 MB / 3.851 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/8.234, allocations: 0 / 3.851 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/8.235, allocations: 149.2 kB / 3.851 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/8.235, allocations: 47.19 kB / 3.851 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/8.235, allocations: 18.55 kB / 3.851 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/8.236, allocations: 1.401 MB / 3.853 GB, free: 279.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/8.236, allocations: 4 kB / 3.853 GB, free: 279.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/8.239, allocations: 1.392 MB / 3.854 GB, free: 278.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/8.239, allocations: 265.1 kB / 3.854 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/8.239, allocations: 18.52 kB / 3.854 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/8.24, allocations: 87.67 kB / 3.854 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/8.24, allocations: 45.48 kB / 3.854 GB, free: 278.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/8.24, allocations: 27.22 kB / 3.854 GB, free: 278.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008428/8.241, allocations: 0.5982 MB / 3.855 GB, free: 277.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/8.241, allocations: 0 / 3.855 GB, free: 277.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002292/8.244, allocations: 0.7044 MB / 3.856 GB, free: 277.7 MB / 1.167 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 () * Number of clocked 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.002516/8.246, allocations: 1.776 MB / 3.857 GB, free: 277.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002809/8.249, allocations: 1.188 MB / 3.858 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/8.249, allocations: 0 / 3.858 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/8.25, allocations: 486.6 kB / 3.859 GB, free: 276.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/8.252, allocations: 0.4901 MB / 3.859 GB, free: 276.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/8.256, allocations: 2.7 MB / 3.862 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/8.257, allocations: 1.169 MB / 3.863 GB, free: 274.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001342/8.259, allocations: 271.4 kB / 3.863 GB, free: 273.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/8.259, allocations: 83.42 kB / 3.864 GB, free: 273.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.462e-06/8.259, allocations: 4 kB / 3.864 GB, free: 273.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05065/8.31, allocations: 37.94 MB / 3.901 GB, free: 236.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)