Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001508/0.001508, allocations: 177.6 kB / 371.8 MB, free: 10.3 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.157/2.157, allocations: 205.4 MB / 0.6305 GB, free: 9.926 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.001109/0.001109, allocations: 100.3 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005828, allocations: 11.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2921, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.688/5.98, allocations: 2.126 GB / 3.105 GB, free: 189.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/5.981, allocations: 95.33 kB / 3.105 GB, free: 189 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/8.447, allocations: 0.6202 GB / 3.726 GB, free: 196.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/8.447, allocations: 3.75 kB / 3.726 GB, free: 196.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002071/8.448, allocations: 37.78 kB / 3.726 GB, free: 196.4 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.005908/8.453, allocations: 1.759 MB / 3.727 GB, free: 195.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/8.454, allocations: 9.031 kB / 3.727 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005639/8.454, allocations: 163 kB / 3.727 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/8.457, allocations: 364.6 kB / 3.728 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/8.461, allocations: 1.219 MB / 3.729 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/8.461, allocations: 75.81 kB / 3.729 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/8.461, allocations: 108.3 kB / 3.729 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/8.464, allocations: 1.126 MB / 3.73 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/8.464, allocations: 0.5625 kB / 3.73 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/8.464, allocations: 43.12 kB / 3.73 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/8.464, allocations: 37.66 kB / 3.73 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/8.466, allocations: 0.8396 MB / 3.731 GB, free: 195 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.006176/8.472, allocations: 5.126 MB / 3.736 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/8.473, allocations: 0.7521 MB / 3.737 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/8.473, allocations: 312.9 kB / 3.737 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/8.473, allocations: 39.91 kB / 3.737 GB, free: 191.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.336e-06/8.473, allocations: 2.906 kB / 3.737 GB, free: 191.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001962/8.475, allocations: 1.008 MB / 3.738 GB, free: 191.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/8.476, allocations: 168.2 kB / 3.738 GB, free: 191.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/8.476, allocations: 0.7603 MB / 3.739 GB, free: 191.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/8.476, allocations: 42.02 kB / 3.739 GB, free: 191.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/8.477, allocations: 0.5541 MB / 3.74 GB, free: 191.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/8.477, allocations: 245.9 kB / 3.74 GB, free: 191.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/8.477, allocations: 17.16 kB / 3.74 GB, free: 191.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/8.477, allocations: 334.2 kB / 3.74 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/8.478, allocations: 271 kB / 3.741 GB, free: 190.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/8.478, allocations: 0.498 MB / 3.741 GB, free: 190.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/8.479, allocations: 341.8 kB / 3.741 GB, free: 190.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/8.479, allocations: 0 / 3.741 GB, free: 190.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001277/8.48, allocations: 0.8648 MB / 3.742 GB, free: 190.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/8.48, allocations: 1.671 MB / 3.744 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.48, allocations: 5.031 kB / 3.744 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/8.48, allocations: 7.562 kB / 3.744 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/8.482, allocations: 266.2 kB / 3.744 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/8.483, allocations: 1.409 MB / 3.745 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/8.484, allocations: 127.4 kB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/8.484, allocations: 38.8 kB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/8.484, allocations: 3.844 kB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/8.485, allocations: 0.7436 MB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/8.485, allocations: 3.656 kB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/8.485, allocations: 11.12 kB / 3.746 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/8.487, allocations: 252.7 kB / 3.747 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009298/8.488, allocations: 1.423 MB / 3.748 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009786/8.489, allocations: 127.1 kB / 3.748 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/8.489, allocations: 36.67 kB / 3.748 GB, free: 185.9 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.0006412/8.489, allocations: 361.2 kB / 3.748 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/8.489, allocations: 109.5 kB / 3.749 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/8.491, allocations: 0.8472 MB / 3.749 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/8.491, allocations: 9.641 kB / 3.749 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/8.491, allocations: 0 / 3.749 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/8.492, allocations: 0.7611 MB / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/8.495, allocations: 2.012 MB / 3.752 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/8.495, allocations: 3.469 kB / 3.752 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/8.496, allocations: 156.4 kB / 3.752 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/8.497, allocations: 47.61 kB / 3.752 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/8.497, allocations: 18.47 kB / 3.752 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/8.498, allocations: 1.391 MB / 3.754 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/8.498, allocations: 3.25 kB / 3.754 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/8.5, allocations: 1.425 MB / 3.755 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/8.5, allocations: 260.2 kB / 3.755 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/8.5, allocations: 26.2 kB / 3.755 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/8.501, allocations: 77.81 kB / 3.755 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/8.501, allocations: 54.44 kB / 3.756 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/8.501, allocations: 19 kB / 3.756 GB, free: 183.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007299/8.502, allocations: 0.5934 MB / 3.756 GB, free: 183.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/8.502, allocations: 0 / 3.756 GB, free: 183.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002147/8.504, allocations: 0.7117 MB / 3.757 GB, free: 183 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.004861/8.509, allocations: 4.123 MB / 3.761 GB, free: 181.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00292/8.512, allocations: 1.187 MB / 3.762 GB, free: 181.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/8.512, allocations: 3.281 kB / 3.762 GB, free: 181.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007946/8.513, allocations: 476.9 kB / 3.762 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/8.515, allocations: 0.5019 MB / 3.763 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/8.526, allocations: 9.401 MB / 3.772 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/8.526, allocations: 1.168 MB / 3.773 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001244/8.528, allocations: 271.3 kB / 3.774 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/8.528, allocations: 458.3 kB / 3.774 GB, free: 175.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/8.528, allocations: 3.625 kB / 3.774 GB, free: 175.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09051/8.619, allocations: 54.09 MB / 3.827 GB, free: 168.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/8.619, allocations: 269.7 kB / 3.827 GB, free: 168.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/12.72, allocations: 0 / 3.827 GB, free: 168.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)