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 3.029/3.029, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.00149/0.00149, allocations: 181.1 kB / 371 MB, free: 10.87 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.31/2.31, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009512/0.0009509, allocations: 89.34 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000579/0.0005793, allocations: 11.56 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2494, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 1.122/1.372, allocations: 180.9 MB / 1.155 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02432/1.396, allocations: 9.643 MB / 1.165 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/1.399, allocations: 48.28 kB / 1.165 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/1.402, allocations: 397.7 kB / 1.165 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/1.409, allocations: 1.446 MB / 1.166 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005695/1.415, allocations: 1.053 MB / 1.167 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007347/1.422, allocations: 3.111 MB / 1.17 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/1.425, allocations: 0.8699 MB / 1.171 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/1.431, allocations: 1.302 MB / 1.173 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/1.434, allocations: 0.8732 MB / 1.173 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005666/1.435, allocations: 47.78 kB / 1.173 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006114/1.441, allocations: 1.315 MB / 1.175 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/1.442, allocations: 339.7 kB / 1.175 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.443, allocations: 276.8 kB / 1.175 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005463/1.448, allocations: 1.666 MB / 1.177 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.449, allocations: 0 / 1.177 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.316e-06/1.449, allocations: 0 / 1.177 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001001/1.449, allocations: 0 / 1.177 GB, free: 7.383 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.005195/1.454, allocations: 1.58 MB / 1.179 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.454, allocations: 11.34 kB / 1.179 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005481/1.455, allocations: 152.4 kB / 1.179 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/1.458, allocations: 369.1 kB / 1.179 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/1.461, allocations: 0.8759 MB / 1.18 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.461, allocations: 78.55 kB / 1.18 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/1.462, allocations: 105.3 kB / 1.18 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/1.465, allocations: 1.093 MB / 1.181 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/1.465, allocations: 3.938 kB / 1.181 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/1.465, allocations: 46.75 kB / 1.181 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-05/1.466, allocations: 34.78 kB / 1.181 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/1.468, allocations: 0.7961 MB / 1.182 GB, free: 4.008 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.01115/1.479, allocations: 5.083 MB / 1.187 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/1.482, allocations: 0.7102 MB / 1.188 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.483, allocations: 351.9 kB / 1.188 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/1.484, allocations: 330.9 kB / 1.188 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.484, allocations: 42.06 kB / 1.188 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 4.038e-06/1.484, allocations: 0 / 1.188 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.003342/1.487, allocations: 0.9372 MB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/1.487, allocations: 59.88 kB / 1.189 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/1.489, allocations: 0.8619 MB / 1.19 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/1.489, allocations: 43.86 kB / 1.19 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/1.49, allocations: 0.5571 MB / 1.191 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/1.49, allocations: 244.2 kB / 1.191 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/1.491, allocations: 16.66 kB / 1.191 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.491, allocations: 335.7 kB / 1.191 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008391/1.492, allocations: 245.1 kB / 1.192 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/1.493, allocations: 449.5 kB / 1.192 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/1.493, allocations: 310.3 kB / 1.192 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.494, allocations: 0 / 1.192 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002544/1.496, allocations: 0.8339 MB / 1.193 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.496, allocations: 233.2 kB / 1.193 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.496, allocations: 6.812 kB / 1.193 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/1.496, allocations: 10.88 kB / 1.193 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.499, allocations: 245.9 kB / 1.194 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/1.501, allocations: 1.398 MB / 1.195 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.503, allocations: 110.5 kB / 1.195 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.504, allocations: 40.67 kB / 1.195 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.504, allocations: 2.969 kB / 1.195 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0022/1.506, allocations: 0.7008 MB / 1.196 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.506, allocations: 6.156 kB / 1.196 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.506, allocations: 8.531 kB / 1.196 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.509, allocations: 252.8 kB / 1.196 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/1.511, allocations: 1.394 MB / 1.197 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.513, allocations: 108.6 kB / 1.197 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.513, allocations: 36.61 kB / 1.197 GB, free: 7.664 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.0009468/1.514, allocations: 368.3 kB / 1.198 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/1.514, allocations: 113.3 kB / 1.198 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/1.517, allocations: 0.7869 MB / 1.199 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.517, allocations: 7.688 kB / 1.199 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.517, allocations: 0 / 1.199 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002309/1.519, allocations: 0.7127 MB / 1.199 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/1.525, allocations: 1.922 MB / 1.201 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.526, allocations: 0 / 1.201 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.527, allocations: 144.9 kB / 1.201 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/1.528, allocations: 52.28 kB / 1.201 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/1.528, allocations: 17.31 kB / 1.202 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.53, allocations: 1.352 MB / 1.203 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.53, allocations: 2.938 kB / 1.203 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/1.534, allocations: 1.252 MB / 1.204 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/1.535, allocations: 255.7 kB / 1.204 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.535, allocations: 14.22 kB / 1.204 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.536, allocations: 59.22 kB / 1.204 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.536, allocations: 46.38 kB / 1.204 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/1.536, allocations: 23.83 kB / 1.204 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00122/1.537, allocations: 0.5844 MB / 1.205 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.81e-07/1.537, allocations: 0 / 1.205 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002313/1.54, allocations: 0.5307 MB / 1.206 GB, free: 2.098 MB / 0.7292 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.006975/1.547, allocations: 1.9 MB / 1.207 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.557, allocations: 1.186 MB / 1.209 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.557, allocations: 4 kB / 1.209 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.559, allocations: 446.1 kB / 1.209 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/1.564, allocations: 0.5094 MB / 1.209 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.583, allocations: 6.592 MB / 1.216 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.584, allocations: 1.14 MB / 1.217 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002041/1.586, allocations: 276.8 kB / 1.217 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.587, allocations: 463.2 kB / 1.218 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of SimCode: time 1.382e-06/1.587, allocations: 0 / 1.218 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09683/1.684, allocations: 26.7 MB / 1.244 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004329/1.684, allocations: 270.2 kB / 1.244 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.982/5.666, allocations: 1.5 kB / 1.244 GB, free: 10.51 MB / 0.7761 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)