Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.048/3.048, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001426/0.001426, allocations: 176.3 kB / 371 MB, free: 10.85 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.218/2.218, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009892/0.0009886, allocations: 96.91 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.0005478, allocations: 11.88 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2508, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.033/1.284, allocations: 191.1 MB / 1.165 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02357/1.308, allocations: 9.189 MB / 1.174 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/1.311, allocations: 48.47 kB / 1.174 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/1.314, allocations: 0.5287 MB / 1.175 GB, free: 7.086 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.009864/1.324, allocations: 2.032 MB / 1.177 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/1.329, allocations: 0.9758 MB / 1.178 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01029/1.339, allocations: 4.69 MB / 1.182 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/1.342, allocations: 0.9494 MB / 1.183 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/1.347, allocations: 1.143 MB / 1.184 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/1.35, allocations: 1.162 MB / 1.185 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/1.351, allocations: 54.19 kB / 1.185 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006353/1.357, allocations: 1.17 MB / 1.186 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/1.359, allocations: 0.5038 MB / 1.187 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/1.36, allocations: 331.5 kB / 1.187 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005325/1.366, allocations: 2.027 MB / 1.189 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.366, allocations: 0 / 1.189 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.186e-06/1.366, allocations: 0 / 1.189 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.934e-05/1.366, allocations: 0 / 1.189 GB, free: 13.91 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.005051/1.371, allocations: 1.601 MB / 1.191 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.371, allocations: 11.25 kB / 1.191 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007162/1.372, allocations: 170.1 kB / 1.191 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/1.377, allocations: 491.7 kB / 1.191 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/1.38, allocations: 1.011 MB / 1.192 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.381, allocations: 77.52 kB / 1.193 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/1.381, allocations: 118 kB / 1.193 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/1.385, allocations: 1.142 MB / 1.194 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/1.385, allocations: 0 / 1.194 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/1.385, allocations: 47.25 kB / 1.194 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-05/1.385, allocations: 40.33 kB / 1.194 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/1.389, allocations: 1.069 MB / 1.195 GB, free: 10.26 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.01273/1.402, allocations: 4.524 MB / 1.199 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.403, allocations: 0.6415 MB / 1.2 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.405, allocations: 417.7 kB / 1.2 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/1.405, allocations: 293.7 kB / 1.201 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/1.405, allocations: 44.78 kB / 1.201 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 4.208e-06/1.405, allocations: 0 / 1.201 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.005113/1.41, allocations: 1.337 MB / 1.202 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.411, allocations: 57.28 kB / 1.202 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.413, allocations: 1.033 MB / 1.203 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/1.413, allocations: 43.11 kB / 1.203 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/1.414, allocations: 0.5837 MB / 1.204 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/1.414, allocations: 238.3 kB / 1.204 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-05/1.414, allocations: 14.94 kB / 1.204 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.415, allocations: 340.8 kB / 1.204 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/1.416, allocations: 309.6 kB / 1.205 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.417, allocations: 0.5019 MB / 1.205 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.418, allocations: 393.7 kB / 1.205 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.418, allocations: 6.469 kB / 1.205 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002821/1.421, allocations: 0.9648 MB / 1.206 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.421, allocations: 8 kB / 1.206 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.421, allocations: 4 kB / 1.206 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.421, allocations: 8 kB / 1.206 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.422, allocations: 171.7 kB / 1.207 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/1.422, allocations: 11.98 kB / 1.207 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/1.425, allocations: 119 kB / 1.207 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.425, allocations: 32 kB / 1.207 GB, free: 1.613 MB / 0.7292 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.001862/1.427, allocations: 373.4 kB / 1.207 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007991/1.428, allocations: 126.5 kB / 1.207 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/1.429, allocations: 135.1 kB / 1.207 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.429, allocations: 4 kB / 1.207 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.429, allocations: 4 kB / 1.207 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004216/1.433, allocations: 0.9389 MB / 1.208 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.443, allocations: 2.304 MB / 1.21 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.444, allocations: 7.953 kB / 1.21 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.445, allocations: 123.8 kB / 1.211 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/1.445, allocations: 102.1 kB / 1.211 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.446, allocations: 20 kB / 1.211 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/1.449, allocations: 2.874 MB / 1.213 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.45, allocations: 4 kB / 1.213 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/1.453, allocations: 1.41 MB / 1.215 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.455, allocations: 295.5 kB / 1.215 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004437/1.455, allocations: 20 kB / 1.215 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.457, allocations: 73.69 kB / 1.215 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.458, allocations: 60.27 kB / 1.215 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.458, allocations: 31.98 kB / 1.215 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00181/1.46, allocations: 0.724 MB / 1.216 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.46, allocations: 0 / 1.216 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002245/1.462, allocations: 407.4 kB / 1.216 GB, free: 7.047 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.004824/1.467, allocations: 2.081 MB / 1.218 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.469, allocations: 0.7214 MB / 1.219 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.469, allocations: 0 / 1.219 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.471, allocations: 0.5802 MB / 1.22 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007811/1.478, allocations: 0.855 MB / 1.221 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.501, allocations: 7.539 MB / 1.228 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.502, allocations: 1.236 MB / 1.229 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002331/1.505, allocations: 326.6 kB / 1.229 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.506, allocations: 467.2 kB / 1.23 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of SimCode: time 1.463e-06/1.506, allocations: 0 / 1.23 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.624, allocations: 36.44 MB / 1.265 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004689/1.624, allocations: 269.1 kB / 1.266 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.111/5.736, allocations: 3.516 kB / 1.266 GB, free: 4.344 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)