Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001406/0.001406, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 187.5 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.665/1.665, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001346/0.001346, allocations: 72.69 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2253, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6483/0.8736, allocations: 170.8 MB / 0.9504 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.8794, allocations: 3.35 MB / 0.9537 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.8804, allocations: 21.03 kB / 0.9537 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/0.8814, allocations: 312.8 kB / 0.954 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.8838, allocations: 1.016 MB / 0.955 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.8855, allocations: 0.6608 MB / 0.9556 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.8874, allocations: 1.511 MB / 0.9571 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.8881, allocations: 474 kB / 0.9576 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008958/0.889, allocations: 0.5622 MB / 0.9581 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.89, allocations: 469.3 kB / 0.9586 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.8901, allocations: 52.75 kB / 0.9586 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.8922, allocations: 0.8376 MB / 0.9594 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.8926, allocations: 239.5 kB / 0.9597 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.893, allocations: 329.8 kB / 0.96 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.8949, allocations: 1.127 MB / 0.9611 GB, free: 276 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8949, allocations: 0 / 0.9611 GB, free: 276 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8949, allocations: 0 / 0.9611 GB, free: 276 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8949, allocations: 9.031 kB / 0.9611 GB, free: 268 kB / 0.7169 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.001474/0.8964, allocations: 0.9068 MB / 0.962 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.8964, allocations: 8.875 kB / 0.962 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.8966, allocations: 86.27 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.8978, allocations: 176.6 kB / 0.9622 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.8986, allocations: 0.5157 MB / 0.9627 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.8986, allocations: 29.25 kB / 0.9628 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.8987, allocations: 45.44 kB / 0.9628 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.8995, allocations: 474 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.8995, allocations: 1.125 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.8996, allocations: 18.56 kB / 0.9633 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.8996, allocations: 15.19 kB / 0.9633 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.9002, allocations: 415.2 kB / 0.9637 GB, free: 15.29 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.002604/0.9028, allocations: 1.849 MB / 0.9655 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.9032, allocations: 234.4 kB / 0.9657 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.9034, allocations: 148.5 kB / 0.9658 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.9036, allocations: 106 kB / 0.9659 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.9036, allocations: 42.53 kB / 0.966 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.9036, allocations: 0 / 0.966 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007876/0.9044, allocations: 392.2 kB / 0.9664 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.9044, allocations: 54.41 kB / 0.9664 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.905, allocations: 496.7 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.905, allocations: 36.14 kB / 0.9669 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.9052, allocations: 267.1 kB / 0.9672 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.9053, allocations: 83.84 kB / 0.9673 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.9054, allocations: 70.64 kB / 0.9673 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9056, allocations: 356.8 kB / 0.9677 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.9057, allocations: 122 kB / 0.9678 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.906, allocations: 199.6 kB / 0.968 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.9064, allocations: 334.7 kB / 0.9683 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9064, allocations: 5.375 kB / 0.9683 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005187/0.9069, allocations: 395.6 kB / 0.9687 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9069, allocations: 5.844 kB / 0.9687 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9069, allocations: 4.531 kB / 0.9687 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.907, allocations: 3.594 kB / 0.9687 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.9073, allocations: 67.84 kB / 0.9688 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9073, allocations: 15.94 kB / 0.9688 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.9077, allocations: 41.94 kB / 0.9688 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.9078, allocations: 17.44 kB / 0.9688 GB, free: 13.15 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.908, allocations: 203 kB / 0.969 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.9081, allocations: 48.16 kB / 0.9691 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.9082, allocations: 53.61 kB / 0.9691 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9082, allocations: 2.594 kB / 0.9691 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.9082, allocations: 5.312 kB / 0.9691 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003612/0.9086, allocations: 341.1 kB / 0.9694 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.9098, allocations: 0.9623 MB / 0.9704 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9099, allocations: 1.375 kB / 0.9704 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.9101, allocations: 65.53 kB / 0.9705 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9102, allocations: 6.75 kB / 0.9705 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.9102, allocations: 6.109 kB / 0.9705 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9102, allocations: 5.281 kB / 0.9705 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9102, allocations: 6.734 kB / 0.9705 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.9109, allocations: 0.5548 MB / 0.971 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.9111, allocations: 170 kB / 0.9712 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.9112, allocations: 4.156 kB / 0.9712 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.9115, allocations: 16.53 kB / 0.9712 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.9116, allocations: 21.17 kB / 0.9712 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.9116, allocations: 23.83 kB / 0.9712 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003938/0.912, allocations: 352.6 kB / 0.9716 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9121, allocations: 0 / 0.9716 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005638/0.9126, allocations: 159.5 kB / 0.9717 GB, free: 11.88 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.9138, allocations: 1.151 MB / 0.9729 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.9142, allocations: 278.9 kB / 0.9731 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9142, allocations: 64 / 0.9731 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.9144, allocations: 125.3 kB / 0.9732 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.9159, allocations: 343.4 kB / 0.9736 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.9206, allocations: 4.187 MB / 0.9777 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.921, allocations: 0.8804 MB / 0.9785 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004167/0.9214, allocations: 134.4 kB / 0.9786 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.9216, allocations: 157.7 kB / 0.9788 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.9216, allocations: 0 / 0.9788 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.9554, allocations: 14.7 MB / 0.9931 GB, free: 272 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.749, allocations: 6.469 kB / 0.9932 GB, free: 268 kB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)