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.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 148 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.001196/0.001196, allocations: 196.7 kB / 16.53 MB, free: 6.656 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002388, allocations: 290.8 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 99.38 kB / 0.6065 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.151, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4638/0.6148, allocations: 190.3 MB / 0.8795 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.6237, allocations: 5.684 MB / 0.885 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.6246, allocations: 43.62 kB / 0.8851 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.6259, allocations: 0.562 MB / 0.8856 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.6293, allocations: 1.608 MB / 0.8872 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.632, allocations: 1.194 MB / 0.8883 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00294/0.635, allocations: 2.518 MB / 0.8908 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.6363, allocations: 0.9921 MB / 0.8918 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.638, allocations: 1.027 MB / 0.8928 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.6394, allocations: 0.8156 MB / 0.8936 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.6396, allocations: 100 kB / 0.8937 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.6424, allocations: 1.52 MB / 0.8951 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005021/0.6429, allocations: 0.4909 MB / 0.8956 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.6436, allocations: 0.63 MB / 0.8962 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.6463, allocations: 2.084 MB / 0.8983 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6463, allocations: 0 / 0.8983 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6463, allocations: 3.938 kB / 0.8983 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6463, allocations: 0 / 0.8983 GB, free: 9.891 MB / 0.6231 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.002319/0.6486, allocations: 1.473 MB / 0.8997 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6487, allocations: 8.031 kB / 0.8997 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.6489, allocations: 145.5 kB / 0.8999 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.6508, allocations: 330.3 kB / 0.9002 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.652, allocations: 0.7764 MB / 0.9009 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.6524, allocations: 121.9 kB / 0.9011 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6525, allocations: 80 kB / 0.9011 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.6543, allocations: 1.086 MB / 0.9022 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.6544, allocations: 7.969 kB / 0.9022 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.6545, allocations: 36 kB / 0.9022 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.6545, allocations: 34 kB / 0.9023 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.6562, allocations: 0.843 MB / 0.9031 GB, free: 4.82 MB / 0.6231 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.005676/0.6618, allocations: 4.301 MB / 0.9073 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.6625, allocations: 371.5 kB / 0.9076 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6628, allocations: 217.2 kB / 0.9078 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.663, allocations: 101.1 kB / 0.9079 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.6631, allocations: 42.42 kB / 0.908 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/0.6631, allocations: 0 / 0.908 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002553/0.6656, allocations: 1.328 MB / 0.9093 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6657, allocations: 55.41 kB / 0.9093 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.6671, allocations: 1.012 MB / 0.9103 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.6672, allocations: 33.7 kB / 0.9104 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.6676, allocations: 499.2 kB / 0.9108 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6678, allocations: 134.1 kB / 0.911 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.668, allocations: 126.1 kB / 0.9111 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6682, allocations: 330 kB / 0.9114 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.6687, allocations: 245.1 kB / 0.9116 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.6694, allocations: 427.8 kB / 0.912 GB, free: 11.16 MB / 0.6387 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.002659/0.672, allocations: 1.223 MB / 0.9132 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6721, allocations: 7.938 kB / 0.9132 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001497/0.6736, allocations: 0.7853 MB / 0.914 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6736, allocations: 10.19 kB / 0.914 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6736, allocations: 7.938 kB / 0.914 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6736, allocations: 8 kB / 0.914 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.6742, allocations: 148.1 kB / 0.9142 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.6743, allocations: 11.98 kB / 0.9142 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008564/0.6751, allocations: 59.95 kB / 0.9142 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.6752, allocations: 27.98 kB / 0.9143 GB, free: 8.773 MB / 0.6387 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.0004337/0.6756, allocations: 317.5 kB / 0.9146 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6758, allocations: 98.78 kB / 0.9147 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.676, allocations: 109 kB / 0.9148 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.676, allocations: 4 kB / 0.9148 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.676, allocations: 4.625 kB / 0.9148 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007492/0.6768, allocations: 0.6716 MB / 0.9154 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.6792, allocations: 1.578 MB / 0.917 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.6792, allocations: 8.094 kB / 0.917 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.6796, allocations: 92.95 kB / 0.9171 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.6796, allocations: 4 kB / 0.9171 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.6797, allocations: 16 kB / 0.9171 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.6797, allocations: 16.72 kB / 0.9171 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6797, allocations: 4 kB / 0.9171 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6808, allocations: 0.8292 MB / 0.9179 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.6812, allocations: 235.9 kB / 0.9181 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6813, allocations: 19.92 kB / 0.9182 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.682, allocations: 36.84 kB / 0.9182 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.6821, allocations: 39.84 kB / 0.9182 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.6821, allocations: 23.98 kB / 0.9183 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0011/0.6832, allocations: 0.7116 MB / 0.919 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6832, allocations: 0 / 0.919 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007891/0.684, allocations: 256 kB / 0.9192 GB, free: 3.422 MB / 0.6387 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.001771/0.6858, allocations: 1.493 MB / 0.9207 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.6869, allocations: 0.543 MB / 0.9212 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6869, allocations: 0 / 0.9212 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.6872, allocations: 188.2 kB / 0.9214 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.69, allocations: 0.6134 MB / 0.922 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.7013, allocations: 8.017 MB / 0.9298 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.7021, allocations: 1.099 MB / 0.9309 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008877/0.703, allocations: 252.2 kB / 0.9311 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.7036, allocations: 347.3 kB / 0.9314 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.7036, allocations: 0 / 0.9314 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/0.7655, allocations: 27.63 MB / 0.9584 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.863, allocations: 12.95 kB / 0.9584 GB, free: 11.19 MB / 0.6856 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)