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.001055/0.001055, allocations: 112.5 kB / 15.74 MB, free: 68 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.0009991/0.0009993, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8964/0.8964, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 99.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4576/0.5968, allocations: 190.3 MB / 0.9518 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008029/0.6049, allocations: 5.701 MB / 0.9573 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.6056, allocations: 35.81 kB / 0.9574 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.6069, allocations: 0.5981 MB / 0.9579 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.6101, allocations: 1.662 MB / 0.9596 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6128, allocations: 1.224 MB / 0.9608 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.6153, allocations: 2.508 MB / 0.9632 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.6164, allocations: 0.9965 MB / 0.9642 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6179, allocations: 1.062 MB / 0.9652 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.6192, allocations: 0.817 MB / 0.966 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6194, allocations: 104 kB / 0.9661 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.6218, allocations: 1.54 MB / 0.9676 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.6222, allocations: 486.8 kB / 0.9681 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.6228, allocations: 0.6222 MB / 0.9687 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.6251, allocations: 2.116 MB / 0.9708 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6251, allocations: 0 / 0.9708 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6251, allocations: 4 kB / 0.9708 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.6251, allocations: 0 / 0.9708 GB, free: 1.25 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.002084/0.6272, allocations: 1.513 MB / 0.9722 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6273, allocations: 8.031 kB / 0.9722 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.6274, allocations: 139.2 kB / 0.9724 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.6293, allocations: 342.9 kB / 0.9727 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.6306, allocations: 0.8123 MB / 0.9735 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.6306, allocations: 66 kB / 0.9736 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.6308, allocations: 83.95 kB / 0.9736 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6324, allocations: 1.074 MB / 0.9747 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.6324, allocations: 4 kB / 0.9747 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.6325, allocations: 40 kB / 0.9747 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.6325, allocations: 30 kB / 0.9748 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.634, allocations: 0.8352 MB / 0.9756 GB, free: 12.17 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.004896/0.6389, allocations: 4.271 MB / 0.9797 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.6394, allocations: 365.3 kB / 0.9801 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.6397, allocations: 218.9 kB / 0.9803 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.6399, allocations: 101.1 kB / 0.9804 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.6399, allocations: 46.42 kB / 0.9804 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.6399, allocations: 0 / 0.9804 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002243/0.6422, allocations: 1.348 MB / 0.9818 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.6422, allocations: 55.41 kB / 0.9818 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6435, allocations: 0.9966 MB / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.6435, allocations: 37.7 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.6439, allocations: 0.4963 MB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.644, allocations: 154.7 kB / 0.9835 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.6442, allocations: 126.2 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6443, allocations: 333.9 kB / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.6447, allocations: 229.2 kB / 0.9841 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.6453, allocations: 423.8 kB / 0.9845 GB, free: 2.516 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.002315/0.6476, allocations: 1.221 MB / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6477, allocations: 0 / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/0.6489, allocations: 0.767 MB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.649, allocations: 8 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.649, allocations: 11.97 kB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.649, allocations: 8 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.6495, allocations: 143.8 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.6496, allocations: 16.05 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.6504, allocations: 55.95 kB / 0.9867 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.6505, allocations: 24.88 kB / 0.9867 GB, free: 172 kB / 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.0003696/0.6508, allocations: 324.8 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.651, allocations: 103.3 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.6511, allocations: 109 kB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6512, allocations: 4 kB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6512, allocations: 7.938 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006367/0.6518, allocations: 0.675 MB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.654, allocations: 1.577 MB / 0.9894 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.654, allocations: 9.188 kB / 0.9894 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.6544, allocations: 83.89 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6544, allocations: 4 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.6545, allocations: 16 kB / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.6545, allocations: 15.88 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6545, allocations: 4 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.6554, allocations: 0.8337 MB / 0.9904 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.6558, allocations: 244.4 kB / 0.9906 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6559, allocations: 19.94 kB / 0.9906 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.6566, allocations: 39.97 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.6567, allocations: 43.77 kB / 0.9907 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.6567, allocations: 23.98 kB / 0.9907 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000899/0.6576, allocations: 0.7038 MB / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6576, allocations: 0 / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007389/0.6584, allocations: 267.9 kB / 0.9917 GB, free: 10.79 MB / 0.7481 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.001469/0.6599, allocations: 1.476 MB / 0.9931 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008417/0.6607, allocations: 0.5 MB / 0.9936 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6607, allocations: 0 / 0.9936 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.661, allocations: 197.2 kB / 0.9938 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.6635, allocations: 0.6149 MB / 0.9944 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/0.6727, allocations: 7.637 MB / 1.002 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.6733, allocations: 1.099 MB / 1.003 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.6741, allocations: 248.3 kB / 1.003 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.6745, allocations: 343.3 kB / 1.003 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of SimCode: time 3.21e-07/0.6745, allocations: 0 / 1.003 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/0.7248, allocations: 27.81 MB / 1.031 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/9.188, allocations: 3.938 kB / 1.031 GB, free: 2.906 MB / 0.7794 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)