Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_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.001254/0.001254, allocations: 100.6 kB / 16.27 MB, free: 5.93 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.001328/0.001328, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2958, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4555/0.7514, allocations: 190.3 MB / 0.7531 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007624/0.759, allocations: 5.689 MB / 0.7587 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.7601, allocations: 40.88 kB / 0.7587 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7614, allocations: 0.5669 MB / 0.7593 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.7649, allocations: 1.614 MB / 0.7608 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.7678, allocations: 1.191 MB / 0.762 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.7711, allocations: 2.503 MB / 0.7645 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.7724, allocations: 0.9986 MB / 0.7654 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.7742, allocations: 1.017 MB / 0.7664 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.7757, allocations: 0.8163 MB / 0.7672 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.7759, allocations: 101.6 kB / 0.7673 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.7787, allocations: 1.53 MB / 0.7688 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.7792, allocations: 499.4 kB / 0.7693 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007318/0.7799, allocations: 0.6218 MB / 0.7699 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.7825, allocations: 2.089 MB / 0.7719 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7825, allocations: 0 / 0.7719 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7825, allocations: 2.422 kB / 0.7719 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.7826, allocations: 0.9062 kB / 0.7719 GB, free: 1.426 MB / 0.5762 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.002163/0.7847, allocations: 1.48 MB / 0.7734 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.7848, allocations: 10.91 kB / 0.7734 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.7849, allocations: 138 kB / 0.7735 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.7869, allocations: 331.3 kB / 0.7738 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.788, allocations: 0.7703 MB / 0.7746 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.7884, allocations: 127.6 kB / 0.7747 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7885, allocations: 86.72 kB / 0.7748 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.79, allocations: 1.079 MB / 0.7759 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.7901, allocations: 6 kB / 0.7759 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.7902, allocations: 40.45 kB / 0.7759 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.7902, allocations: 33.28 kB / 0.7759 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.7915, allocations: 0.8396 MB / 0.7767 GB, free: 16.06 MB / 0.5919 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.004507/0.796, allocations: 4.302 MB / 0.781 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.7966, allocations: 370.1 kB / 0.7813 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.7968, allocations: 221.4 kB / 0.7815 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.797, allocations: 104.6 kB / 0.7816 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.797, allocations: 40 kB / 0.7817 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.797, allocations: 0 / 0.7817 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002191/0.7992, allocations: 1.327 MB / 0.7829 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7993, allocations: 60.22 kB / 0.783 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.8004, allocations: 1.005 MB / 0.784 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.8005, allocations: 35.42 kB / 0.784 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.8008, allocations: 0.4912 MB / 0.7845 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.8009, allocations: 135.6 kB / 0.7846 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.8011, allocations: 120.7 kB / 0.7847 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.8012, allocations: 333.1 kB / 0.7851 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.8016, allocations: 239.2 kB / 0.7853 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.8022, allocations: 429.6 kB / 0.7857 GB, free: 12.15 MB / 0.5919 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.002236/0.8044, allocations: 1.228 MB / 0.7869 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8044, allocations: 3.562 kB / 0.7869 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001215/0.8056, allocations: 0.7801 MB / 0.7877 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8057, allocations: 7.469 kB / 0.7877 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8057, allocations: 9.375 kB / 0.7877 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8057, allocations: 7.938 kB / 0.7877 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.8063, allocations: 145.7 kB / 0.7878 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.8063, allocations: 10.59 kB / 0.7878 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.8072, allocations: 71.19 kB / 0.7879 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.8072, allocations: 25.25 kB / 0.7879 GB, free: 11.75 MB / 0.5919 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.0003464/0.8076, allocations: 325.6 kB / 0.7882 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.8077, allocations: 94.38 kB / 0.7883 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.8079, allocations: 103.8 kB / 0.7884 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8079, allocations: 3.312 kB / 0.7884 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.8079, allocations: 4.906 kB / 0.7884 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005609/0.8085, allocations: 0.6818 MB / 0.7891 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.8104, allocations: 1.583 MB / 0.7906 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.8105, allocations: 6.5 kB / 0.7907 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.8108, allocations: 89.33 kB / 0.7907 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8109, allocations: 5.156 kB / 0.7907 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.8109, allocations: 15.38 kB / 0.7908 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.8109, allocations: 13.11 kB / 0.7908 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8109, allocations: 5.219 kB / 0.7908 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.8118, allocations: 0.8308 MB / 0.7916 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.8121, allocations: 240.5 kB / 0.7918 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.8122, allocations: 11.77 kB / 0.7918 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.8129, allocations: 41.25 kB / 0.7919 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.813, allocations: 36.12 kB / 0.7919 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.813, allocations: 30.03 kB / 0.7919 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000853/0.8139, allocations: 0.7165 MB / 0.7926 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8139, allocations: 0 / 0.7926 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007706/0.8147, allocations: 252.2 kB / 0.7929 GB, free: 10.09 MB / 0.5919 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.00136/0.816, allocations: 1.468 MB / 0.7943 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.8169, allocations: 0.5393 MB / 0.7948 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8169, allocations: 3.75 kB / 0.7948 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.8171, allocations: 186.6 kB / 0.795 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.8196, allocations: 0.6217 MB / 0.7956 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.8288, allocations: 8.038 MB / 0.8035 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/0.8295, allocations: 1.097 MB / 0.8045 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009256/0.8305, allocations: 241.8 kB / 0.8048 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.8308, allocations: 344.3 kB / 0.8051 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/0.8308, allocations: 4 kB / 0.8051 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.8794, allocations: 27.62 MB / 0.8321 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.429, allocations: 4.953 kB / 0.8321 GB, free: 1.75 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)