Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005356, allocations: 14.16 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6537/0.884, allocations: 191.1 MB / 0.974 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.8963, allocations: 9.186 MB / 0.983 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.8984, allocations: 47.69 kB / 0.983 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.9, allocations: 0.5225 MB / 0.9835 GB, free: 2.895 MB / 0.7169 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.005751/0.9058, allocations: 2.035 MB / 0.9855 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.9087, allocations: 0.9826 MB / 0.9865 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005/0.9138, allocations: 4.699 MB / 0.9911 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.9151, allocations: 0.9433 MB / 0.992 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.9169, allocations: 1.147 MB / 0.9931 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.9185, allocations: 1.182 MB / 0.9943 GB, free: 0 / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.9186, allocations: 54.97 kB / 0.9943 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.9218, allocations: 1.173 MB / 0.9955 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.9223, allocations: 0.5045 MB / 0.996 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.9226, allocations: 331.7 kB / 0.9963 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.9247, allocations: 2.026 MB / 0.9983 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9247, allocations: 0 / 0.9983 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9247, allocations: 0 / 0.9983 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.9247, allocations: 1.859 kB / 0.9983 GB, free: 14.35 MB / 0.7325 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.002373/0.9271, allocations: 1.599 MB / 0.9998 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.9271, allocations: 11.59 kB / 0.9998 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.9273, allocations: 171.3 kB / 1 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.9302, allocations: 488.1 kB / 1 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.9317, allocations: 1.012 MB / 1.001 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.9318, allocations: 84.86 kB / 1.002 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.9319, allocations: 106.3 kB / 1.002 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.9336, allocations: 1.144 MB / 1.003 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.9337, allocations: 2.906 kB / 1.003 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.9338, allocations: 46.62 kB / 1.003 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.9338, allocations: 45.59 kB / 1.003 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.9352, allocations: 1.056 MB / 1.004 GB, free: 11.99 MB / 0.7325 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.005289/0.9405, allocations: 4.528 MB / 1.008 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.9413, allocations: 0.6409 MB / 1.009 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.9418, allocations: 423 kB / 1.009 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.9422, allocations: 296.5 kB / 1.01 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.9422, allocations: 40.5 kB / 1.01 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.9422, allocations: 0 / 1.01 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65): time 0.002439/0.9447, allocations: 1.339 MB / 1.011 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.9447, allocations: 61.77 kB / 1.011 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9458, allocations: 1.031 MB / 1.012 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.9458, allocations: 42.8 kB / 1.012 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.9462, allocations: 0.5852 MB / 1.013 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.9464, allocations: 235.8 kB / 1.013 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.9465, allocations: 22.03 kB / 1.013 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9466, allocations: 342.4 kB / 1.013 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.947, allocations: 303.6 kB / 1.013 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.9476, allocations: 0.4993 MB / 1.014 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.9481, allocations: 393.9 kB / 1.014 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9481, allocations: 3.188 kB / 1.014 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001197/0.9493, allocations: 0.9632 MB / 1.015 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.9493, allocations: 5.75 kB / 1.015 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9493, allocations: 5.125 kB / 1.015 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9494, allocations: 10.88 kB / 1.015 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.95, allocations: 164.1 kB / 1.015 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.95, allocations: 7.875 kB / 1.015 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.951, allocations: 131.8 kB / 1.016 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.9511, allocations: 31.97 kB / 1.016 GB, free: 6.57 MB / 0.7325 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.0004564/0.9515, allocations: 371.5 kB / 1.016 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.9517, allocations: 122.4 kB / 1.016 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.952, allocations: 137 kB / 1.016 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.952, allocations: 9.781 kB / 1.016 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.952, allocations: 2.844 kB / 1.016 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.9531, allocations: 0.935 MB / 1.017 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.9562, allocations: 2.303 MB / 1.019 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.9563, allocations: 7 kB / 1.019 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.9568, allocations: 125.5 kB / 1.02 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003309/0.9571, allocations: 105.2 kB / 1.02 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.9572, allocations: 17.94 kB / 1.02 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.9594, allocations: 2.864 MB / 1.022 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.9594, allocations: 9.25 kB / 1.022 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.9613, allocations: 1.417 MB / 1.024 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.9618, allocations: 291.5 kB / 1.024 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.9619, allocations: 23.64 kB / 1.024 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/0.9627, allocations: 73.03 kB / 1.024 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.9628, allocations: 59.08 kB / 1.024 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.9629, allocations: 30.95 kB / 1.024 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008461/0.9637, allocations: 0.7248 MB / 1.025 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9637, allocations: 0 / 1.025 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001174/0.9649, allocations: 408.3 kB / 1.025 GB, free: 1.145 MB / 0.7325 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.002511/0.9674, allocations: 2.079 MB / 1.027 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.9686, allocations: 0.7219 MB / 1.028 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.9686, allocations: 4.656 kB / 1.028 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.9694, allocations: 0.5825 MB / 1.029 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/0.9729, allocations: 0.8446 MB / 1.03 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.9836, allocations: 7.541 MB / 1.037 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.9845, allocations: 1.236 MB / 1.038 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001355/0.9858, allocations: 326.6 kB / 1.038 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.9864, allocations: 463.3 kB / 1.039 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.9865, allocations: 0 / 1.039 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/1.043, allocations: 36.45 MB / 1.074 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.043, allocations: 258.2 kB / 1.075 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.752, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) Environment - environmentSimulation: