Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.001525/0.001525, allocations: 105.5 kB / 16.27 MB, free: 6.352 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.001817/0.001817, allocations: 193.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7371/0.7371, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5412/0.8674, allocations: 242.4 MB / 0.804 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.8875, allocations: 15.9 MB / 0.8195 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.8912, allocations: 78.5 kB / 0.8196 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.8942, allocations: 1.182 MB / 0.8207 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00903/0.9033, allocations: 3.817 MB / 0.8245 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.9074, allocations: 1.809 MB / 0.8262 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005551/0.913, allocations: 5.248 MB / 0.8313 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.9149, allocations: 1.675 MB / 0.833 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.9198, allocations: 2.591 MB / 0.8355 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.9227, allocations: 1.715 MB / 0.8372 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002848/0.923, allocations: 173.9 kB / 0.8374 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/0.9282, allocations: 2.708 MB / 0.84 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007805/0.929, allocations: 0.7759 MB / 0.8408 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.9307, allocations: 1.148 MB / 0.8419 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.9366, allocations: 3.514 MB / 0.8453 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9366, allocations: 2.25 kB / 0.8453 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9366, allocations: 0 / 0.8453 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.507e-05/0.9366, allocations: 0 / 0.8453 GB, free: 11.04 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004124/0.9408, allocations: 2.497 MB / 0.8477 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.9408, allocations: 10.72 kB / 0.8478 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002673/0.9411, allocations: 219.3 kB / 0.848 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.9442, allocations: 0.5037 MB / 0.8485 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.9464, allocations: 1.274 MB / 0.8497 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.9466, allocations: 190 kB / 0.8499 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.9468, allocations: 154.8 kB / 0.85 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.9496, allocations: 1.731 MB / 0.8517 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.9496, allocations: 6.625 kB / 0.8517 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.9498, allocations: 59.67 kB / 0.8518 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.9499, allocations: 66.69 kB / 0.8519 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.9524, allocations: 1.369 MB / 0.8532 GB, free: 4.379 MB / 0.5919 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.009172/0.9615, allocations: 8.261 MB / 0.8613 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.9631, allocations: 0.9094 MB / 0.8621 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008465/0.9639, allocations: 0.5419 MB / 0.8627 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.9646, allocations: 322.8 kB / 0.863 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9646, allocations: 46.09 kB / 0.863 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/0.9646, allocations: 3.938 kB / 0.863 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006534/0.9711, allocations: 3.109 MB / 0.8661 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.9712, allocations: 72.41 kB / 0.8661 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.9726, allocations: 1.258 MB / 0.8674 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/0.9727, allocations: 49.7 kB / 0.8674 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.9733, allocations: 0.808 MB / 0.8682 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.9735, allocations: 371.2 kB / 0.8686 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.9738, allocations: 226.8 kB / 0.8688 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.974, allocations: 357.9 kB / 0.8691 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.9748, allocations: 449.8 kB / 0.8695 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.9758, allocations: 0.8235 MB / 0.8703 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.9777, allocations: 1.256 MB / 0.8716 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9777, allocations: 0 / 0.8716 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002339/0.98, allocations: 1.408 MB / 0.8729 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9801, allocations: 8 kB / 0.873 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.9801, allocations: 8 kB / 0.873 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.9801, allocations: 16 kB / 0.873 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9813, allocations: 278.3 kB / 0.8732 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.9813, allocations: 25.05 kB / 0.8733 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.9825, allocations: 67.89 kB / 0.8733 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.9826, allocations: 55.98 kB / 0.8734 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.9839, allocations: 0.7679 MB / 0.8741 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.9849, allocations: 0.8193 MB / 0.8749 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001851/0.9868, allocations: 1.241 MB / 0.8761 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/0.9868, allocations: 4 kB / 0.8761 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002221/0.9891, allocations: 1.392 MB / 0.8775 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9891, allocations: 8 kB / 0.8775 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9891, allocations: 8 kB / 0.8775 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9891, allocations: 16 kB / 0.8775 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.9902, allocations: 273.7 kB / 0.8778 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.9902, allocations: 25.05 kB / 0.8778 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.9914, allocations: 72.05 kB / 0.8779 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.9915, allocations: 51.98 kB / 0.8779 GB, free: 9.957 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002713/0.9918, allocations: 266.9 kB / 0.8782 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.9921, allocations: 162 kB / 0.8784 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.9941, allocations: 1.161 MB / 0.8795 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9942, allocations: 8 kB / 0.8795 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9942, allocations: 0 / 0.8795 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/0.9958, allocations: 1.083 MB / 0.8805 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/1, allocations: 2.792 MB / 0.8833 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1, allocations: 0 / 0.8833 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.001, allocations: 246.4 kB / 0.8835 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.001, allocations: 8 kB / 0.8835 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.001, allocations: 27.98 kB / 0.8835 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.001, allocations: 8 kB / 0.8836 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.001, allocations: 6.844 kB / 0.8836 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/1.004, allocations: 1.768 MB / 0.8853 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/1.005, allocations: 334.9 kB / 0.8856 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.005, allocations: 24 kB / 0.8856 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.006, allocations: 60.88 kB / 0.8857 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.006, allocations: 71.47 kB / 0.8858 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/1.006, allocations: 35.98 kB / 0.8858 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00102/1.007, allocations: 0.8465 MB / 0.8866 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 0 / 0.8866 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001813/1.009, allocations: 0.7617 MB / 0.8874 GB, free: 188 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.003476/1.012, allocations: 2.491 MB / 0.8898 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00377/1.016, allocations: 1.998 MB / 0.8917 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.016, allocations: 4 kB / 0.8917 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008729/1.017, allocations: 0.517 MB / 0.8923 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.021, allocations: 0.927 MB / 0.8932 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.04, allocations: 13.07 MB / 0.9059 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.041, allocations: 1.441 MB / 0.9073 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001961/1.043, allocations: 0.5522 MB / 0.9079 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/1.044, allocations: 0.6945 MB / 0.9085 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/1.044, allocations: 0 / 0.9085 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07619/1.12, allocations: 44.61 MB / 0.9521 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/9.191, allocations: 9.578 kB / 0.9521 GB, free: 13.88 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)