Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.425/1.425, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.0008726/0.0008726, allocations: 171.6 kB / 372.2 MB, free: 10.15 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.098/1.098, allocations: 205.4 MB / 0.631 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.0006496/0.0006496, allocations: 88.89 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 16.83 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4494/0.5894, allocations: 191.1 MB / 1.167 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.6009, allocations: 9.193 MB / 1.176 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.6021, allocations: 44.66 kB / 1.176 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.6035, allocations: 0.6053 MB / 1.176 GB, free: 5.887 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00502/0.6085, allocations: 2.426 MB / 1.179 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.611, allocations: 1.032 MB / 1.18 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004328/0.6153, allocations: 4.729 MB / 1.184 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6166, allocations: 1.077 MB / 1.185 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.6182, allocations: 1.126 MB / 1.187 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.6197, allocations: 1.173 MB / 1.188 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6198, allocations: 57.25 kB / 1.188 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.6239, allocations: 2.695 MB / 1.19 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.6244, allocations: 0.5055 MB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.6251, allocations: 0.7375 MB / 1.192 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.6271, allocations: 2.196 MB / 1.194 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6271, allocations: 0 / 1.194 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6271, allocations: 0 / 1.194 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6271, allocations: 0 / 1.194 GB, free: 11.05 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002095/0.6292, allocations: 1.589 MB / 1.195 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.6293, allocations: 8 kB / 1.195 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.6295, allocations: 170 kB / 1.195 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.632, allocations: 486.3 kB / 1.196 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6333, allocations: 1.042 MB / 1.197 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.6334, allocations: 93.97 kB / 1.197 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6335, allocations: 121.9 kB / 1.197 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.6351, allocations: 1.143 MB / 1.198 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.6352, allocations: 0 / 1.198 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.6353, allocations: 42.88 kB / 1.198 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.6353, allocations: 45.62 kB / 1.198 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.6367, allocations: 1.056 MB / 1.199 GB, free: 7.375 MB / 0.7292 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.005161/0.6419, allocations: 4.521 MB / 1.204 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.6426, allocations: 0.6417 MB / 1.204 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.6431, allocations: 415.5 kB / 1.205 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.6434, allocations: 300.3 kB / 1.205 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.6435, allocations: 49.25 kB / 1.205 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 1.583e-06/0.6435, allocations: 0 / 1.205 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.002273/0.6457, allocations: 1.329 MB / 1.206 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.6458, allocations: 64 kB / 1.207 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6468, allocations: 1.033 MB / 1.208 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.6469, allocations: 41.7 kB / 1.208 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.6472, allocations: 0.5815 MB / 1.208 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.6474, allocations: 240.6 kB / 1.208 GB, free: 352 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.6475, allocations: 16 kB / 1.208 GB, free: 336 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6476, allocations: 338 kB / 1.209 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.648, allocations: 309.8 kB / 1.209 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.6485, allocations: 0.5038 MB / 1.209 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.6495, allocations: 0.8234 MB / 1.21 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6495, allocations: 4 kB / 1.21 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001203/0.6507, allocations: 0.9568 MB / 1.211 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6507, allocations: 12.09 kB / 1.211 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6507, allocations: 7.984 kB / 1.211 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6508, allocations: 12 kB / 1.211 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.6513, allocations: 163.8 kB / 1.211 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6514, allocations: 11.94 kB / 1.211 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.6524, allocations: 129.2 kB / 1.212 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.6524, allocations: 32 kB / 1.212 GB, free: 12.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.6529, allocations: 365.5 kB / 1.212 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.653, allocations: 122.5 kB / 1.212 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.6532, allocations: 143.1 kB / 1.212 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6532, allocations: 4 kB / 1.212 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.6532, allocations: 7.938 kB / 1.212 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.6543, allocations: 0.9428 MB / 1.213 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.6573, allocations: 2.301 MB / 1.215 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6573, allocations: 4 kB / 1.215 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.6579, allocations: 127.8 kB / 1.215 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.6582, allocations: 98.08 kB / 1.216 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.6582, allocations: 16 kB / 1.216 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6602, allocations: 2.877 MB / 1.218 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6602, allocations: 7.938 kB / 1.218 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6618, allocations: 1.414 MB / 1.22 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.6622, allocations: 299.4 kB / 1.22 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6624, allocations: 23.88 kB / 1.22 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.6632, allocations: 73.61 kB / 1.22 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.6633, allocations: 44.38 kB / 1.22 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.6633, allocations: 35.98 kB / 1.22 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007792/0.6641, allocations: 0.7318 MB / 1.221 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6641, allocations: 0 / 1.221 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008845/0.665, allocations: 407.4 kB / 1.221 GB, free: 2.312 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * 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 (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002117/0.6672, allocations: 2.078 MB / 1.223 GB, free: 176 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.6681, allocations: 0.7215 MB / 1.224 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6681, allocations: 4 kB / 1.224 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.6688, allocations: 0.584 MB / 1.225 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.6725, allocations: 0.8333 MB / 1.225 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/0.6815, allocations: 7.541 MB / 1.233 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.6822, allocations: 1.233 MB / 1.234 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001001/0.6832, allocations: 322.6 kB / 1.234 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.6837, allocations: 463.3 kB / 1.235 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of SimCode: time 3.7e-07/0.6837, allocations: 0 / 1.235 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7475/1.431, allocations: 36.91 MB / 1.271 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.431, allocations: 264.8 kB / 1.271 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/5.013, allocations: 0 / 1.271 GB, free: 15.18 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)