Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.818/1.818, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001111/0.001112, allocations: 186.9 kB / 372 MB, free: 10.27 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.87/1.87, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008359/0.0008359, allocations: 83.31 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.0006945, allocations: 11.56 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2777, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8384/1.116, allocations: 155.2 MB / 1.131 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007032/1.123, allocations: 3.161 MB / 1.134 GB, free: 408 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/1.124, allocations: 20.69 kB / 1.134 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008616/1.125, allocations: 216.5 kB / 1.134 GB, free: 304 kB / 0.6823 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.002653/1.128, allocations: 0.7496 MB / 1.135 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/1.13, allocations: 497.7 kB / 1.136 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002485/1.132, allocations: 1.755 MB / 1.137 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/1.133, allocations: 354.4 kB / 1.138 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/1.134, allocations: 483.1 kB / 1.138 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/1.135, allocations: 447.6 kB / 1.139 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/1.135, allocations: 22 kB / 1.139 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/1.136, allocations: 431.7 kB / 1.139 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/1.136, allocations: 205.5 kB / 1.139 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/1.137, allocations: 140.2 kB / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/1.138, allocations: 0.7683 MB / 1.14 GB, free: 14.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.138, allocations: 0 / 1.14 GB, free: 14.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.855e-06/1.138, allocations: 7.656 kB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.138, allocations: 0 / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001615/1.139, allocations: 0.7972 MB / 1.141 GB, free: 14.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.139, allocations: 9.062 kB / 1.141 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/1.14, allocations: 87.2 kB / 1.141 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.141, allocations: 169.7 kB / 1.141 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/1.142, allocations: 485.2 kB / 1.142 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/1.142, allocations: 36.36 kB / 1.142 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/1.142, allocations: 49.09 kB / 1.142 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/1.143, allocations: 465.3 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.143, allocations: 0 / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/1.143, allocations: 21.19 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/1.143, allocations: 19.02 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/1.144, allocations: 411.8 kB / 1.143 GB, free: 13.69 MB / 0.698 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.003222/1.147, allocations: 1.87 MB / 1.144 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/1.147, allocations: 224.7 kB / 1.145 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/1.147, allocations: 150.9 kB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.148, allocations: 102.1 kB / 1.145 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.148, allocations: 40.5 kB / 1.145 GB, free: 12.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/1.148, allocations: 1.125 kB / 1.145 GB, free: 12.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0009327/1.149, allocations: 386.4 kB / 1.145 GB, free: 12.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.149, allocations: 60.06 kB / 1.145 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/1.149, allocations: 487.3 kB / 1.146 GB, free: 11.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/1.149, allocations: 35.53 kB / 1.146 GB, free: 11.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.15, allocations: 276.4 kB / 1.146 GB, free: 11.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/1.15, allocations: 89.69 kB / 1.146 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/1.15, allocations: 8.312 kB / 1.146 GB, free: 11.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.15, allocations: 356.6 kB / 1.147 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.15, allocations: 117.4 kB / 1.147 GB, free: 11.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/1.15, allocations: 199.1 kB / 1.147 GB, free: 11.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/1.151, allocations: 159.2 kB / 1.147 GB, free: 11.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.151, allocations: 1.062 kB / 1.147 GB, free: 11.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006136/1.151, allocations: 396.2 kB / 1.147 GB, free: 11.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.151, allocations: 5.844 kB / 1.147 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.151, allocations: 4.219 kB / 1.147 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.151, allocations: 4.125 kB / 1.147 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/1.152, allocations: 67.03 kB / 1.147 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/1.152, allocations: 7.656 kB / 1.147 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/1.152, allocations: 59.33 kB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/1.152, allocations: 14.59 kB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0002918/1.153, allocations: 205.3 kB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/1.153, allocations: 48.53 kB / 1.148 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.153, allocations: 56.03 kB / 1.148 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.153, allocations: 2.094 kB / 1.148 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.153, allocations: 8.219 kB / 1.148 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004212/1.153, allocations: 339.9 kB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.155, allocations: 0.9559 MB / 1.149 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.155, allocations: 1.406 kB / 1.149 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/1.155, allocations: 64.28 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.155, allocations: 2.719 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/1.155, allocations: 6.422 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.155, allocations: 2.625 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.155, allocations: 2.344 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/1.156, allocations: 0.5586 MB / 1.15 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/1.156, allocations: 164.3 kB / 1.15 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/1.156, allocations: 7.188 kB / 1.15 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/1.157, allocations: 31.14 kB / 1.15 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/1.157, allocations: 23.05 kB / 1.15 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/1.157, allocations: 17.81 kB / 1.15 GB, free: 9.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004523/1.157, allocations: 352.4 kB / 1.15 GB, free: 9.562 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.157, allocations: 0 / 1.15 GB, free: 9.562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006531/1.158, allocations: 156.5 kB / 1.15 GB, free: 9.547 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.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 (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001395/1.159, allocations: 1.151 MB / 1.152 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005193/1.16, allocations: 279.5 kB / 1.152 GB, free: 8.684 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.16, allocations: 0 / 1.152 GB, free: 8.684 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/1.16, allocations: 121 kB / 1.152 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.162, allocations: 326 kB / 1.152 GB, free: 8.559 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/1.167, allocations: 2.95 MB / 1.155 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/1.168, allocations: 0.8817 MB / 1.156 GB, free: 6.324 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006275/1.168, allocations: 128.4 kB / 1.156 GB, free: 6.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.169, allocations: 164.5 kB / 1.156 GB, free: 6.25 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.169, allocations: 0 / 1.156 GB, free: 6.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/1.209, allocations: 14.43 MB / 1.17 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.209, allocations: 246.5 kB / 1.171 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.665, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)