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.004572/0.004572, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.0009873/0.0009874, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 282.9 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8942/0.8942, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 104.8 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1404, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4609/0.6013, allocations: 190.3 MB / 0.9518 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007649/0.609, allocations: 5.705 MB / 0.9573 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.6096, allocations: 43.75 kB / 0.9574 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.6108, allocations: 0.5865 MB / 0.9579 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.6137, allocations: 1.668 MB / 0.9596 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.6162, allocations: 1.217 MB / 0.9608 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.6185, allocations: 2.504 MB / 0.9632 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6196, allocations: 0.9887 MB / 0.9642 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.6209, allocations: 1.066 MB / 0.9652 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6221, allocations: 0.8212 MB / 0.966 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.6222, allocations: 100 kB / 0.9661 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6244, allocations: 1.536 MB / 0.9676 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.6248, allocations: 0.4909 MB / 0.9681 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.6254, allocations: 0.6144 MB / 0.9687 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.6276, allocations: 2.124 MB / 0.9708 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6276, allocations: 0 / 0.9708 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6276, allocations: 0 / 0.9708 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.6276, allocations: 0 / 0.9708 GB, free: 1.199 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.001996/0.6296, allocations: 1.513 MB / 0.9722 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6296, allocations: 8.031 kB / 0.9723 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.6298, allocations: 139.2 kB / 0.9724 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.6315, allocations: 338.9 kB / 0.9727 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.6327, allocations: 0.8123 MB / 0.9735 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.6327, allocations: 66 kB / 0.9736 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6329, allocations: 87.94 kB / 0.9737 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.6344, allocations: 1.074 MB / 0.9747 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6344, allocations: 0 / 0.9747 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.6345, allocations: 40 kB / 0.9747 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.6345, allocations: 37.98 kB / 0.9748 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.6359, allocations: 0.8275 MB / 0.9756 GB, free: 12.12 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.004591/0.6405, allocations: 4.271 MB / 0.9798 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.6411, allocations: 368.6 kB / 0.9801 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.6414, allocations: 213.3 kB / 0.9803 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.6415, allocations: 109 kB / 0.9804 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6416, allocations: 42.42 kB / 0.9805 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.6416, allocations: 3.984 kB / 0.9805 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002155/0.6437, allocations: 1.348 MB / 0.9818 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.6438, allocations: 59.41 kB / 0.9818 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6449, allocations: 0.9928 MB / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.645, allocations: 33.7 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.6453, allocations: 0.4963 MB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.6454, allocations: 150.7 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6456, allocations: 130.2 kB / 0.9836 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6457, allocations: 330 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.6462, allocations: 233.2 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.6468, allocations: 423.8 kB / 0.9845 GB, free: 2.469 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.00232/0.6491, allocations: 1.209 MB / 0.9857 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6491, allocations: 4 kB / 0.9857 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001264/0.6504, allocations: 0.7773 MB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6504, allocations: 8 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6505, allocations: 4.531 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6505, allocations: 15.94 kB / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.651, allocations: 143.8 kB / 0.9866 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.651, allocations: 17.38 kB / 0.9867 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.6518, allocations: 55.89 kB / 0.9867 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.6518, allocations: 35.98 kB / 0.9867 GB, free: 108 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.0003564/0.6522, allocations: 310.2 kB / 0.987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6523, allocations: 107.3 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.6525, allocations: 105 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6525, allocations: 4 kB / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6525, allocations: 0 / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006446/0.6532, allocations: 0.6866 MB / 0.9879 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.6553, allocations: 1.573 MB / 0.9894 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6553, allocations: 8.438 kB / 0.9895 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.6556, allocations: 88.34 kB / 0.9895 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6557, allocations: 4 kB / 0.9895 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.6557, allocations: 19.98 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.6557, allocations: 12.81 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6557, allocations: 7.938 kB / 0.9896 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.6567, allocations: 0.826 MB / 0.9904 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.657, allocations: 244.4 kB / 0.9906 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6571, allocations: 19.92 kB / 0.9906 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.6577, allocations: 42.34 kB / 0.9907 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.6578, allocations: 35.84 kB / 0.9907 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.6578, allocations: 23.98 kB / 0.9907 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009088/0.6588, allocations: 0.7077 MB / 0.9914 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6588, allocations: 4 kB / 0.9914 GB, free: 11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006837/0.6595, allocations: 255.9 kB / 0.9917 GB, free: 10.75 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.001465/0.6609, allocations: 1.479 MB / 0.9931 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008396/0.6618, allocations: 0.5078 MB / 0.9936 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6618, allocations: 0 / 0.9936 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.662, allocations: 197.4 kB / 0.9938 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.6645, allocations: 0.6118 MB / 0.9944 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/0.6736, allocations: 7.629 MB / 1.002 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.6743, allocations: 1.099 MB / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000668/0.675, allocations: 252.3 kB / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.6754, allocations: 339.3 kB / 1.003 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of SimCode: time 7.32e-07/0.6754, allocations: 0 / 1.003 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.7246, allocations: 27.81 MB / 1.031 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/9.26, allocations: 11.5 kB / 1.031 GB, free: 2.859 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)