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.005031/0.005031, allocations: 104.8 kB / 15.74 MB, free: 6.02 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.001171/0.001171, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 288.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 95.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3682, allocations: 86.97 MB / 0.7659 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2026/0.5709, allocations: 190.3 MB / 0.9518 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3537/0.9247, allocations: 5.689 MB / 0.9573 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.9258, allocations: 42.06 kB / 0.9574 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.9271, allocations: 0.5682 MB / 0.9579 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.9303, allocations: 1.607 MB / 0.9595 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.9329, allocations: 1.208 MB / 0.9607 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.9354, allocations: 2.505 MB / 0.9631 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.9364, allocations: 0.9867 MB / 0.9641 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.9376, allocations: 1.024 MB / 0.9651 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.9388, allocations: 0.8181 MB / 0.9659 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.939, allocations: 101.6 kB / 0.966 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.9411, allocations: 1.526 MB / 0.9675 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.9415, allocations: 496.7 kB / 0.9679 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.9421, allocations: 0.6196 MB / 0.9685 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.944, allocations: 2.118 MB / 0.9706 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.944, allocations: 0.8125 kB / 0.9706 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.944, allocations: 0 / 0.9706 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.944, allocations: 3.375 kB / 0.9706 GB, free: 1.547 MB / 0.7169 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.001778/0.9458, allocations: 1.513 MB / 0.9721 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.9458, allocations: 8.844 kB / 0.9721 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.946, allocations: 142.4 kB / 0.9722 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.9476, allocations: 336.1 kB / 0.9726 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.9486, allocations: 0.8163 MB / 0.9734 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.9486, allocations: 61.72 kB / 0.9734 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.9487, allocations: 90.3 kB / 0.9735 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.9501, allocations: 1.073 MB / 0.9746 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.9501, allocations: 0 / 0.9746 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.9502, allocations: 41.17 kB / 0.9746 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.9502, allocations: 32.5 kB / 0.9746 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.9514, allocations: 0.8289 MB / 0.9754 GB, free: 16.15 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.004287/0.9557, allocations: 4.278 MB / 0.9796 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.9562, allocations: 369.3 kB / 0.98 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.9564, allocations: 218.8 kB / 0.9802 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.9566, allocations: 102.4 kB / 0.9803 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.9566, allocations: 42.91 kB / 0.9803 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.9566, allocations: 0 / 0.9803 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.0019/0.9585, allocations: 1.351 MB / 0.9816 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9586, allocations: 55.22 kB / 0.9817 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9596, allocations: 0.9944 MB / 0.9827 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.9597, allocations: 37.48 kB / 0.9827 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.96, allocations: 0.4993 MB / 0.9832 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.9601, allocations: 147.3 kB / 0.9833 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.9603, allocations: 127.5 kB / 0.9834 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9604, allocations: 326.9 kB / 0.9837 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.9608, allocations: 235.9 kB / 0.984 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.9613, allocations: 427.8 kB / 0.9844 GB, free: 12.2 MB / 0.7325 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.00208/0.9634, allocations: 1.218 MB / 0.9856 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9634, allocations: 3.344 kB / 0.9856 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001083/0.9645, allocations: 0.7704 MB / 0.9863 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.9645, allocations: 14.25 kB / 0.9863 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9646, allocations: 8.219 kB / 0.9863 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9646, allocations: 10.69 kB / 0.9864 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.9651, allocations: 147.5 kB / 0.9865 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.9651, allocations: 10.38 kB / 0.9865 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.9658, allocations: 58.58 kB / 0.9866 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.9659, allocations: 27.38 kB / 0.9866 GB, free: 11.79 MB / 0.7325 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.0003183/0.9662, allocations: 313.3 kB / 0.9869 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.9663, allocations: 107.7 kB / 0.987 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.9665, allocations: 108.4 kB / 0.9871 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9665, allocations: 6 kB / 0.9871 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9665, allocations: 1.203 kB / 0.9871 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006/0.9671, allocations: 0.6752 MB / 0.9878 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.9689, allocations: 1.576 MB / 0.9893 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.9689, allocations: 2.438 kB / 0.9893 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.9693, allocations: 91.84 kB / 0.9894 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.9693, allocations: 6.25 kB / 0.9894 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.9693, allocations: 21.17 kB / 0.9894 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.9693, allocations: 6.75 kB / 0.9894 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9693, allocations: 7.375 kB / 0.9894 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.9702, allocations: 0.8312 MB / 0.9902 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.9705, allocations: 253 kB / 0.9905 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.9706, allocations: 9.844 kB / 0.9905 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.9712, allocations: 41.06 kB / 0.9905 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.9712, allocations: 37.98 kB / 0.9906 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.9713, allocations: 28.02 kB / 0.9906 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007713/0.9721, allocations: 0.7054 MB / 0.9913 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9721, allocations: 0.875 kB / 0.9913 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000625/0.9727, allocations: 258.6 kB / 0.9915 GB, free: 10.12 MB / 0.7325 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.001451/0.9742, allocations: 1.483 MB / 0.993 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006982/0.9749, allocations: 0.497 MB / 0.9935 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9749, allocations: 0 / 0.9935 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.9751, allocations: 192.5 kB / 0.9936 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.9773, allocations: 0.6137 MB / 0.9942 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/0.9857, allocations: 7.642 MB / 1.002 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.9864, allocations: 1.096 MB / 1.003 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006965/0.9871, allocations: 248.5 kB / 1.003 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.9875, allocations: 341.2 kB / 1.003 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.9875, allocations: 0 / 1.003 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/1.039, allocations: 27.82 MB / 1.031 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/10.02, allocations: 4.062 kB / 1.031 GB, free: 9.633 MB / 0.7481 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)