Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001224/0.001224, allocations: 176 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009457/0.0009459, allocations: 95.31 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.916e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.931/7.208, allocations: 2.127 GB / 3.107 GB, free: 112.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/7.209, allocations: 92.77 kB / 3.107 GB, free: 112.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.127/10.34, allocations: 0.6195 GB / 3.726 GB, free: 164 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.559e-06/10.34, allocations: 3.312 kB / 3.726 GB, free: 164 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002976/10.34, allocations: 33.94 kB / 3.726 GB, free: 164 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.007486/10.34, allocations: 1.573 MB / 3.728 GB, free: 163 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.161e-05/10.34, allocations: 10.19 kB / 3.728 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008942/10.34, allocations: 161.4 kB / 3.728 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/10.35, allocations: 359.3 kB / 3.728 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005451/10.35, allocations: 1.213 MB / 3.729 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/10.35, allocations: 76.5 kB / 3.729 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/10.35, allocations: 103.9 kB / 3.73 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/10.36, allocations: 1.081 MB / 3.731 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/10.36, allocations: 7.594 kB / 3.731 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/10.36, allocations: 47.91 kB / 3.731 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/10.36, allocations: 38.33 kB / 3.731 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/10.36, allocations: 0.7621 MB / 3.731 GB, free: 161.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007525/10.37, allocations: 5.129 MB / 3.736 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/10.37, allocations: 0.6644 MB / 3.737 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/10.37, allocations: 328.4 kB / 3.737 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/10.37, allocations: 314.4 kB / 3.738 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/10.37, allocations: 45.53 kB / 3.738 GB, free: 156.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 5.3e-06/10.37, allocations: 3.844 kB / 3.738 GB, free: 156.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001676/10.37, allocations: 0.6966 MB / 3.738 GB, free: 156.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/10.37, allocations: 162.9 kB / 3.739 GB, free: 156.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/10.37, allocations: 0.743 MB / 3.739 GB, free: 156 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/10.37, allocations: 43.92 kB / 3.739 GB, free: 156 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/10.37, allocations: 0.553 MB / 3.74 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/10.37, allocations: 244.4 kB / 3.74 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/10.37, allocations: 20.09 kB / 3.74 GB, free: 155.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/10.37, allocations: 335.8 kB / 3.74 GB, free: 155 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/10.37, allocations: 233 kB / 3.741 GB, free: 154.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/10.37, allocations: 474.9 kB / 3.741 GB, free: 154.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/10.37, allocations: 310.2 kB / 3.741 GB, free: 154.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/10.37, allocations: 0 / 3.741 GB, free: 154.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001524/10.38, allocations: 0.8186 MB / 3.742 GB, free: 154.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006499/10.38, allocations: 1.668 MB / 3.744 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/10.38, allocations: 3.75 kB / 3.744 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.253e-05/10.38, allocations: 11.31 kB / 3.744 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/10.38, allocations: 259.3 kB / 3.744 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/10.38, allocations: 1.404 MB / 3.746 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/10.38, allocations: 131.2 kB / 3.746 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/10.38, allocations: 38.58 kB / 3.746 GB, free: 150.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/10.38, allocations: 3.75 kB / 3.746 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/10.38, allocations: 0.6824 MB / 3.746 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/10.38, allocations: 4.219 kB / 3.746 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/10.38, allocations: 13.03 kB / 3.746 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/10.38, allocations: 249.3 kB / 3.747 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/10.39, allocations: 1.419 MB / 3.748 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/10.39, allocations: 125.1 kB / 3.748 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/10.39, allocations: 28.38 kB / 3.748 GB, free: 149.2 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 () * 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.0003164/10.39, allocations: 160.3 kB / 3.748 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/10.39, allocations: 115.6 kB / 3.748 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/10.39, allocations: 0.784 MB / 3.749 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/10.39, allocations: 10.97 kB / 3.749 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/10.39, allocations: 0 / 3.749 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/10.39, allocations: 0.7001 MB / 3.75 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/10.4, allocations: 1.951 MB / 3.752 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/10.4, allocations: 7.891 kB / 3.752 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/10.4, allocations: 161.1 kB / 3.752 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/10.4, allocations: 45.91 kB / 3.752 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/10.4, allocations: 19.31 kB / 3.752 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/10.4, allocations: 1.38 MB / 3.753 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/10.4, allocations: 0 / 3.753 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/10.4, allocations: 1.342 MB / 3.755 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/10.4, allocations: 266.2 kB / 3.755 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/10.4, allocations: 18.97 kB / 3.755 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/10.4, allocations: 67.69 kB / 3.755 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/10.4, allocations: 57.7 kB / 3.755 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/10.4, allocations: 22.5 kB / 3.755 GB, free: 144.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001024/10.4, allocations: 0.5818 MB / 3.756 GB, free: 144.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/10.4, allocations: 0 / 3.756 GB, free: 144.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003052/10.41, allocations: 0.7154 MB / 3.756 GB, free: 144.4 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 () * 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.006111/10.41, allocations: 4.044 MB / 3.76 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003018/10.42, allocations: 1.142 MB / 3.761 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/10.42, allocations: 0 / 3.761 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/10.42, allocations: 447.7 kB / 3.762 GB, free: 141.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/10.42, allocations: 498.5 kB / 3.762 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/10.43, allocations: 1.967 MB / 3.764 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/10.43, allocations: 1.17 MB / 3.765 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001776/10.43, allocations: 353.4 kB / 3.766 GB, free: 139.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/10.43, allocations: 446.2 kB / 3.766 GB, free: 139.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.783e-06/10.43, allocations: 0 / 3.766 GB, free: 139.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/10.55, allocations: 60.26 MB / 3.825 GB, free: 109.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/10.55, allocations: 222.8 kB / 3.825 GB, free: 108.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/15.06, allocations: 4 kB / 3.825 GB, free: 108.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)