Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001049/0.001049, allocations: 108 kB / 15.61 MB, free: 152 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.001085/0.001086, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 278.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8943/0.8943, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 103.1 kB / 0.5953 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1383, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4253/0.5636, allocations: 190.3 MB / 0.8661 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008311/0.572, allocations: 5.688 MB / 0.8717 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009691/0.5729, allocations: 45.56 kB / 0.8717 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.5743, allocations: 0.558 MB / 0.8723 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.5774, allocations: 1.607 MB / 0.8738 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.5799, allocations: 1.197 MB / 0.875 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.5822, allocations: 2.508 MB / 0.8775 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.5833, allocations: 0.9962 MB / 0.8784 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.5848, allocations: 1.026 MB / 0.8794 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.5862, allocations: 0.8136 MB / 0.8802 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5863, allocations: 103.5 kB / 0.8803 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.5889, allocations: 1.521 MB / 0.8818 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.5893, allocations: 498.9 kB / 0.8823 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.5899, allocations: 0.6219 MB / 0.8829 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.5921, allocations: 2.094 MB / 0.8849 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5921, allocations: 0 / 0.8849 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5921, allocations: 1.781 kB / 0.8849 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.5922, allocations: 0 / 0.8849 GB, free: 2.918 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001987/0.5942, allocations: 1.479 MB / 0.8864 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5942, allocations: 10.09 kB / 0.8864 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.5944, allocations: 139.2 kB / 0.8865 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.5963, allocations: 330.9 kB / 0.8869 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5974, allocations: 0.7744 MB / 0.8876 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.5978, allocations: 116.4 kB / 0.8877 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5979, allocations: 87.34 kB / 0.8878 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.5995, allocations: 1.085 MB / 0.8889 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.5995, allocations: 6.469 kB / 0.8889 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5996, allocations: 41.95 kB / 0.8889 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.5997, allocations: 32.34 kB / 0.8889 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.6011, allocations: 0.8405 MB / 0.8898 GB, free: 15.74 MB / 0.6075 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.005058/0.6062, allocations: 4.307 MB / 0.894 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.6068, allocations: 368.9 kB / 0.8943 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.6071, allocations: 210.4 kB / 0.8945 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.6072, allocations: 101.7 kB / 0.8946 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6073, allocations: 42.5 kB / 0.8947 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.6073, allocations: 0 / 0.8947 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002266/0.6095, allocations: 1.334 MB / 0.896 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6096, allocations: 59.34 kB / 0.896 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6108, allocations: 1.012 MB / 0.897 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.6109, allocations: 33.7 kB / 0.897 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.6112, allocations: 0.4914 MB / 0.8975 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.6113, allocations: 134.1 kB / 0.8976 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.6115, allocations: 126.1 kB / 0.8978 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.6116, allocations: 330 kB / 0.8981 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.6121, allocations: 241.2 kB / 0.8983 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.6127, allocations: 432.4 kB / 0.8987 GB, free: 7.059 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.615, allocations: 1.212 MB / 0.8999 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.615, allocations: 4 kB / 0.8999 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001342/0.6164, allocations: 0.7809 MB / 0.9007 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6164, allocations: 8 kB / 0.9007 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6164, allocations: 11.92 kB / 0.9007 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6164, allocations: 12 kB / 0.9007 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.617, allocations: 142.1 kB / 0.9008 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.617, allocations: 16.02 kB / 0.9009 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.6179, allocations: 67.88 kB / 0.9009 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.618, allocations: 27.98 kB / 0.9009 GB, free: 4.684 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003485/0.6183, allocations: 311.6 kB / 0.9012 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.6185, allocations: 94.88 kB / 0.9013 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.6186, allocations: 109 kB / 0.9014 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6186, allocations: 4 kB / 0.9014 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6186, allocations: 0 / 0.9014 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005951/0.6192, allocations: 0.6791 MB / 0.9021 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.6213, allocations: 1.585 MB / 0.9036 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6213, allocations: 4.5 kB / 0.9037 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.6217, allocations: 91.84 kB / 0.9037 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6217, allocations: 4 kB / 0.9037 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.6217, allocations: 15.98 kB / 0.9038 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.6218, allocations: 10.12 kB / 0.9038 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6218, allocations: 11.94 kB / 0.9038 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.6227, allocations: 0.8327 MB / 0.9046 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.623, allocations: 231.9 kB / 0.9048 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6231, allocations: 27.86 kB / 0.9048 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.6238, allocations: 37.59 kB / 0.9049 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.6239, allocations: 35.84 kB / 0.9049 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.6239, allocations: 27.98 kB / 0.9049 GB, free: 308 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009304/0.6249, allocations: 0.7117 MB / 0.9056 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6249, allocations: 0 / 0.9056 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007298/0.6256, allocations: 256 kB / 0.9059 GB, free: 15.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.001442/0.6271, allocations: 1.481 MB / 0.9073 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009297/0.628, allocations: 0.5466 MB / 0.9079 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.628, allocations: 0 / 0.9079 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.6283, allocations: 189.2 kB / 0.908 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.6308, allocations: 0.612 MB / 0.9086 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009583/0.6404, allocations: 8.02 MB / 0.9165 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.641, allocations: 1.102 MB / 0.9175 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008166/0.6418, allocations: 244.3 kB / 0.9178 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.6423, allocations: 343.3 kB / 0.9181 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.6423, allocations: 4 kB / 0.9181 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.6916, allocations: 27.62 MB / 0.9451 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/8.061, allocations: 14.75 kB / 0.9451 GB, free: 7.094 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)