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.605/1.605, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001035/0.001035, allocations: 171.4 kB / 372.2 MB, free: 10.14 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.248/1.248, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0007535/0.0007535, allocations: 82.31 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 15.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4799/0.6354, allocations: 181 MB / 1.157 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.6476, allocations: 9.638 MB / 1.166 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.6489, allocations: 44.25 kB / 1.166 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.6502, allocations: 443.5 kB / 1.167 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.6544, allocations: 1.707 MB / 1.168 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.6572, allocations: 1.092 MB / 1.169 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6608, allocations: 3.151 MB / 1.173 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.6624, allocations: 0.9831 MB / 1.174 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.6656, allocations: 1.413 MB / 1.175 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.6671, allocations: 0.8723 MB / 1.176 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.6673, allocations: 46.75 kB / 1.176 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.6708, allocations: 2.325 MB / 1.178 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.6712, allocations: 331.7 kB / 1.178 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.672, allocations: 0.6149 MB / 1.179 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.6738, allocations: 1.784 MB / 1.181 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6739, allocations: 3.938 kB / 1.181 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6739, allocations: 0 / 1.181 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.779e-05/0.6739, allocations: 0 / 1.181 GB, free: 4.871 MB / 0.7136 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.002412/0.6763, allocations: 1.562 MB / 1.182 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6764, allocations: 15.56 kB / 1.182 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.6766, allocations: 152.9 kB / 1.182 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.6784, allocations: 364.8 kB / 1.183 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6798, allocations: 0.9133 MB / 1.184 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.6799, allocations: 82.17 kB / 1.184 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.68, allocations: 104.2 kB / 1.184 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.6815, allocations: 1.091 MB / 1.185 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.6816, allocations: 10.72 kB / 1.185 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.6817, allocations: 46.91 kB / 1.185 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.6817, allocations: 32.44 kB / 1.185 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.683, allocations: 0.7994 MB / 1.186 GB, free: 1.453 MB / 0.7136 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.004829/0.6878, allocations: 5.075 MB / 1.191 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6889, allocations: 0.7054 MB / 1.191 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.6894, allocations: 359 kB / 1.192 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.6899, allocations: 328 kB / 1.192 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.69, allocations: 45.34 kB / 1.192 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 1.723e-06/0.69, allocations: 0 / 1.192 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.0016/0.6916, allocations: 0.9271 MB / 1.193 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.6916, allocations: 63.88 kB / 1.193 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008261/0.6924, allocations: 0.8662 MB / 1.194 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.6925, allocations: 40.61 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.6929, allocations: 0.5496 MB / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.693, allocations: 254.8 kB / 1.195 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.6931, allocations: 14.91 kB / 1.195 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6932, allocations: 341.9 kB / 1.195 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.6936, allocations: 245.2 kB / 1.195 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.6941, allocations: 446.1 kB / 1.196 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.6951, allocations: 0.706 MB / 1.196 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6951, allocations: 3.094 kB / 1.196 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001172/0.6963, allocations: 0.8255 MB / 1.197 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.6964, allocations: 228.3 kB / 1.197 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6964, allocations: 5.844 kB / 1.197 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6964, allocations: 7.844 kB / 1.197 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.6978, allocations: 249 kB / 1.198 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.6989, allocations: 1.395 MB / 1.199 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.6997, allocations: 111.5 kB / 1.199 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.6997, allocations: 32.73 kB / 1.199 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.76e-06/0.6997, allocations: 6.125 kB / 1.199 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/0.7008, allocations: 0.7045 MB / 1.2 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.7008, allocations: 6.812 kB / 1.2 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.7008, allocations: 11.62 kB / 1.2 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7021, allocations: 249.1 kB / 1.2 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.7032, allocations: 1.402 MB / 1.202 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.7039, allocations: 111.3 kB / 1.202 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.704, allocations: 29.8 kB / 1.202 GB, free: 4.785 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (94): * Single equations (assignments): 93 * 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.0003781/0.7043, allocations: 370.8 kB / 1.202 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7045, allocations: 110.6 kB / 1.202 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.7059, allocations: 0.7929 MB / 1.203 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.7059, allocations: 6.156 kB / 1.203 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.706, allocations: 0 / 1.203 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.7071, allocations: 0.7063 MB / 1.204 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.71, allocations: 1.926 MB / 1.205 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.71, allocations: 0 / 1.205 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.7106, allocations: 143.6 kB / 1.206 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.7111, allocations: 52.38 kB / 1.206 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.7111, allocations: 17.69 kB / 1.206 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.7122, allocations: 1.358 MB / 1.207 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7122, allocations: 2.906 kB / 1.207 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.7141, allocations: 1.25 MB / 1.208 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.7144, allocations: 247.6 kB / 1.208 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.7145, allocations: 20 kB / 1.208 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.7151, allocations: 61.67 kB / 1.209 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.7152, allocations: 48.44 kB / 1.209 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.7153, allocations: 31.98 kB / 1.209 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006402/0.7159, allocations: 0.5809 MB / 1.209 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.643e-06/0.7159, allocations: 0 / 1.209 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001093/0.717, allocations: 0.5374 MB / 1.21 GB, free: 14.05 MB / 0.7448 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.002391/0.7194, allocations: 1.901 MB / 1.212 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003076/0.7225, allocations: 1.185 MB / 1.213 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7225, allocations: 0 / 1.213 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.7232, allocations: 450.1 kB / 1.213 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.7255, allocations: 493.5 kB / 1.214 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.734, allocations: 6.596 MB / 1.22 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7347, allocations: 1.14 MB / 1.221 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000903/0.7356, allocations: 277.1 kB / 1.221 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.7361, allocations: 462.5 kB / 1.222 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of SimCode: time 8.687e-06/0.7361, allocations: 0 / 1.222 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7814/1.517, allocations: 26.97 MB / 1.248 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.518, allocations: 266 kB / 1.248 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/4.949, allocations: 0 / 1.248 GB, free: 6.168 MB / 0.7761 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)