Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.847/2.847, allocations: 287.3 MB / 302.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 199.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 98.53 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006485, allocations: 10.69 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2319, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.96/7.192, allocations: 2.126 GB / 3.104 GB, free: 129.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/7.192, allocations: 92.89 kB / 3.104 GB, free: 129.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.623/10.81, allocations: 0.6202 GB / 3.724 GB, free: 204.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.016e-06/10.81, allocations: 2.531 kB / 3.724 GB, free: 204.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002127/10.82, allocations: 38.34 kB / 3.724 GB, free: 204.9 MB / 0.948 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.006786/10.82, allocations: 1.77 MB / 3.726 GB, free: 204.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/10.82, allocations: 7.438 kB / 3.726 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006586/10.82, allocations: 151.5 kB / 3.726 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/10.83, allocations: 373.2 kB / 3.726 GB, free: 204 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/10.83, allocations: 1.216 MB / 3.728 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/10.83, allocations: 84.78 kB / 3.728 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/10.83, allocations: 105.7 kB / 3.728 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/10.84, allocations: 1.116 MB / 3.729 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/10.84, allocations: 11.64 kB / 3.729 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/10.84, allocations: 38.75 kB / 3.729 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/10.84, allocations: 37.03 kB / 3.729 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/10.84, allocations: 0.8307 MB / 3.73 GB, free: 203.4 MB / 0.948 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.01098/10.85, allocations: 5.135 MB / 3.735 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/10.85, allocations: 0.7473 MB / 3.736 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008806/10.85, allocations: 309.5 kB / 3.736 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/10.85, allocations: 44.06 kB / 3.736 GB, free: 200.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.769e-06/10.85, allocations: 0 / 3.736 GB, free: 200.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00396/10.86, allocations: 1.018 MB / 3.737 GB, free: 199.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/10.86, allocations: 162.6 kB / 3.737 GB, free: 199.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/10.86, allocations: 0.76 MB / 3.738 GB, free: 199.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/10.86, allocations: 37.58 kB / 3.738 GB, free: 199.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/10.86, allocations: 0.5574 MB / 3.738 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/10.86, allocations: 247 kB / 3.739 GB, free: 198.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/10.86, allocations: 15.84 kB / 3.739 GB, free: 198.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/10.86, allocations: 336.4 kB / 3.739 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/10.86, allocations: 270.4 kB / 3.739 GB, free: 198.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/10.86, allocations: 0.5029 MB / 3.74 GB, free: 197.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/10.86, allocations: 331.4 kB / 3.74 GB, free: 197.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/10.86, allocations: 2.719 kB / 3.74 GB, free: 197.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002866/10.87, allocations: 0.874 MB / 3.741 GB, free: 197.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004531/10.87, allocations: 1.662 MB / 3.742 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/10.87, allocations: 3.844 kB / 3.742 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/10.87, allocations: 7.281 kB / 3.742 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/10.87, allocations: 265.1 kB / 3.743 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/10.87, allocations: 1.427 MB / 3.744 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/10.88, allocations: 121.9 kB / 3.744 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/10.88, allocations: 34.14 kB / 3.744 GB, free: 194.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/10.88, allocations: 10.53 kB / 3.744 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00237/10.88, allocations: 0.7389 MB / 3.745 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/10.88, allocations: 7.578 kB / 3.745 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/10.88, allocations: 6.656 kB / 3.745 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/10.88, allocations: 252 kB / 3.745 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/10.88, allocations: 1.415 MB / 3.747 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/10.88, allocations: 126.3 kB / 3.747 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/10.89, allocations: 29.56 kB / 3.747 GB, free: 192.5 MB / 0.948 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.00112/10.89, allocations: 368 kB / 3.747 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/10.89, allocations: 115.1 kB / 3.747 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/10.89, allocations: 0.8505 MB / 3.748 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/10.89, allocations: 4.75 kB / 3.748 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/10.89, allocations: 2.125 kB / 3.748 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002556/10.89, allocations: 0.7526 MB / 3.749 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/10.9, allocations: 2.015 MB / 3.751 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/10.9, allocations: 7.547 kB / 3.751 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/10.9, allocations: 152.7 kB / 3.751 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/10.9, allocations: 49.25 kB / 3.751 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/10.9, allocations: 22.16 kB / 3.751 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/10.9, allocations: 1.384 MB / 3.752 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/10.9, allocations: 3.891 kB / 3.752 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/10.91, allocations: 1.429 MB / 3.754 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/10.91, allocations: 269.5 kB / 3.754 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/10.91, allocations: 11.84 kB / 3.754 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/10.91, allocations: 79.19 kB / 3.754 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/10.91, allocations: 46.03 kB / 3.754 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/10.91, allocations: 33.73 kB / 3.754 GB, free: 188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00128/10.91, allocations: 0.5917 MB / 3.755 GB, free: 187.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/10.91, allocations: 0 / 3.755 GB, free: 187.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003443/10.92, allocations: 0.714 MB / 3.755 GB, free: 187.5 MB / 0.948 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 () * 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.007886/10.92, allocations: 4.119 MB / 3.759 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005455/10.93, allocations: 1.195 MB / 3.761 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/10.93, allocations: 0 / 3.761 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/10.93, allocations: 478.8 kB / 3.761 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/10.94, allocations: 0.4893 MB / 3.762 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/10.95, allocations: 9.419 MB / 3.771 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/10.95, allocations: 1.172 MB / 3.772 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00199/10.96, allocations: 267.4 kB / 3.772 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/10.96, allocations: 456.9 kB / 3.773 GB, free: 177.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.734e-06/10.96, allocations: 0 / 3.773 GB, free: 177.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/11.1, allocations: 54.08 MB / 3.825 GB, free: 133.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/11.1, allocations: 256.5 kB / 3.826 GB, free: 133 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.185/16.28, allocations: 3.094 kB / 3.826 GB, free: 133 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)