Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 169.9 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.5777 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008988/0.0008989, allocations: 98.62 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 10.06 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8177/1.067, allocations: 191.5 MB / 1.087 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01664/1.084, allocations: 9.397 MB / 1.096 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/1.087, allocations: 44.34 kB / 1.097 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/1.089, allocations: 0.5397 MB / 1.097 GB, free: 3.762 MB / 0.698 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.008089/1.097, allocations: 2.087 MB / 1.099 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.101, allocations: 1.023 MB / 1.1 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00832/1.11, allocations: 4.951 MB / 1.105 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/1.112, allocations: 0.9895 MB / 1.106 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/1.116, allocations: 1.211 MB / 1.107 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.119, allocations: 1.196 MB / 1.108 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/1.119, allocations: 54.97 kB / 1.108 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/1.124, allocations: 1.168 MB / 1.109 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009059/1.125, allocations: 0.5374 MB / 1.11 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/1.126, allocations: 342.4 kB / 1.11 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/1.13, allocations: 2.11 MB / 1.112 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.13, allocations: 0 / 1.112 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.046e-06/1.13, allocations: 0 / 1.112 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.945e-05/1.13, allocations: 0 / 1.112 GB, free: 19.26 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003074/1.133, allocations: 1.622 MB / 1.114 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.133, allocations: 9.031 kB / 1.114 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000234/1.133, allocations: 179.2 kB / 1.114 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/1.136, allocations: 486.9 kB / 1.115 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.138, allocations: 1.031 MB / 1.116 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/1.138, allocations: 82.3 kB / 1.116 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.138, allocations: 119.5 kB / 1.116 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/1.141, allocations: 1.177 MB / 1.117 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.141, allocations: 0 / 1.117 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.141, allocations: 52.67 kB / 1.117 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/1.141, allocations: 45.48 kB / 1.117 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.142, allocations: 1.066 MB / 1.118 GB, free: 17.77 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.007475/1.15, allocations: 4.566 MB / 1.123 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/1.151, allocations: 0.6064 MB / 1.123 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/1.152, allocations: 412 kB / 1.124 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/1.152, allocations: 291.2 kB / 1.124 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.152, allocations: 55.22 kB / 1.124 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 4.529e-06/1.152, allocations: 1.859 kB / 1.124 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.00342/1.156, allocations: 1.331 MB / 1.125 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/1.156, allocations: 57.78 kB / 1.125 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/1.157, allocations: 1.066 MB / 1.126 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/1.158, allocations: 40.39 kB / 1.126 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/1.158, allocations: 0.5949 MB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.158, allocations: 227.3 kB / 1.127 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/1.158, allocations: 20.59 kB / 1.127 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.159, allocations: 335.3 kB / 1.127 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/1.159, allocations: 298.5 kB / 1.128 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/1.16, allocations: 0.5026 MB / 1.128 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/1.161, allocations: 389.2 kB / 1.129 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.161, allocations: 1.406 kB / 1.129 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002435/1.163, allocations: 0.9534 MB / 1.129 GB, free: 14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/1.163, allocations: 10.19 kB / 1.13 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.163, allocations: 8.906 kB / 1.13 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.088e-05/1.163, allocations: 10.25 kB / 1.13 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/1.164, allocations: 168.3 kB / 1.13 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/1.164, allocations: 15.77 kB / 1.13 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.166, allocations: 136.2 kB / 1.13 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.166, allocations: 38.64 kB / 1.13 GB, free: 13.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.001078/1.167, allocations: 376.7 kB / 1.13 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/1.167, allocations: 129.2 kB / 1.13 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/1.168, allocations: 137.6 kB / 1.13 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.168, allocations: 7.5 kB / 1.13 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.168, allocations: 3.953 kB / 1.13 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/1.169, allocations: 0.9256 MB / 1.131 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/1.173, allocations: 2.321 MB / 1.134 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.173, allocations: 3.125 kB / 1.134 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.174, allocations: 124.4 kB / 1.134 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/1.174, allocations: 99.11 kB / 1.134 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/1.174, allocations: 20.41 kB / 1.134 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/1.177, allocations: 2.865 MB / 1.137 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.177, allocations: 6.219 kB / 1.137 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/1.179, allocations: 1.398 MB / 1.138 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/1.18, allocations: 317.3 kB / 1.138 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.18, allocations: 18.97 kB / 1.138 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.182, allocations: 80.88 kB / 1.138 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.182, allocations: 59.61 kB / 1.139 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.3e-05/1.182, allocations: 35.03 kB / 1.139 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001262/1.183, allocations: 0.7455 MB / 1.139 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/1.183, allocations: 1.75 kB / 1.139 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001627/1.185, allocations: 420.3 kB / 1.14 GB, free: 8.531 MB / 0.7136 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.003089/1.188, allocations: 2.059 MB / 1.142 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.189, allocations: 0.7111 MB / 1.142 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.189, allocations: 3 kB / 1.142 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/1.19, allocations: 0.58 MB / 1.143 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/1.195, allocations: 0.853 MB / 1.144 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.208, allocations: 7.619 MB / 1.151 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009796/1.209, allocations: 1.241 MB / 1.152 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001718/1.211, allocations: 331.7 kB / 1.153 GB, free: 2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/1.212, allocations: 471.7 kB / 1.153 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of SimCode: time 1.303e-06/1.212, allocations: 6.531 kB / 1.153 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/1.287, allocations: 37.08 MB / 1.189 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/1.288, allocations: 266.4 kB / 1.19 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/4.633, allocations: 4 kB / 1.19 GB, free: 0.8047 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)