Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.004799/0.004799, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00126/0.00126, allocations: 199.8 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.261/1.261, 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.001984/0.001984, allocations: 282.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 96.06 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1394, allocations: 86.97 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4554/0.5948, allocations: 190.5 MB / 0.9519 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007813/0.6027, allocations: 5.708 MB / 0.9575 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.6034, allocations: 39.81 kB / 0.9576 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.6046, allocations: 0.5864 MB / 0.9581 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.6077, allocations: 1.676 MB / 0.9598 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.6102, allocations: 1.227 MB / 0.961 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.6125, allocations: 2.565 MB / 0.9635 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6136, allocations: 1.034 MB / 0.9645 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.615, allocations: 1.082 MB / 0.9655 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.6162, allocations: 0.8526 MB / 0.9664 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.6164, allocations: 108 kB / 0.9665 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.6186, allocations: 1.563 MB / 0.968 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.619, allocations: 0.491 MB / 0.9685 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.6195, allocations: 0.6377 MB / 0.9691 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.6217, allocations: 2.194 MB / 0.9712 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6217, allocations: 4 kB / 0.9712 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6217, allocations: 3.984 kB / 0.9712 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6218, allocations: 0 / 0.9712 GB, free: 0.6914 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002091/0.6239, allocations: 1.552 MB / 0.9728 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6239, allocations: 12.02 kB / 0.9728 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.6241, allocations: 143.2 kB / 0.9729 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.6269, allocations: 478.8 kB / 0.9734 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6283, allocations: 0.8483 MB / 0.9742 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.6284, allocations: 77.92 kB / 0.9743 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6285, allocations: 84 kB / 0.9744 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.6306, allocations: 1.179 MB / 0.9755 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.6306, allocations: 3.953 kB / 0.9755 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.717e-05/0.6307, allocations: 36.88 kB / 0.9755 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.6307, allocations: 34 kB / 0.9756 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.6329, allocations: 1.066 MB / 0.9766 GB, free: 11.06 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.006173/0.6391, allocations: 4.328 MB / 0.9808 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.641, allocations: 0.7467 MB / 0.9816 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.6419, allocations: 398.6 kB / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.6421, allocations: 101.8 kB / 0.982 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6421, allocations: 46.56 kB / 0.9821 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.743e-06/0.6421, allocations: 0 / 0.9821 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005315/0.6474, allocations: 2.195 MB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.6475, allocations: 59.34 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.6484, allocations: 0.8764 MB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.6484, allocations: 33.7 kB / 0.9852 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.6487, allocations: 0.4885 MB / 0.9857 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6489, allocations: 174.5 kB / 0.9858 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.6491, allocations: 122.2 kB / 0.9859 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.6492, allocations: 338 kB / 0.9863 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/0.6501, allocations: 369 kB / 0.9866 GB, free: 448 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.6511, allocations: 0.4992 MB / 0.9871 GB, free: 15.89 MB / 0.7481 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.005767/0.6568, allocations: 2.258 MB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6569, allocations: 0 / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0021/0.659, allocations: 0.9903 MB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.659, allocations: 8 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.659, allocations: 4 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.659, allocations: 8 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.66, allocations: 191.8 kB / 0.9905 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.66, allocations: 11.94 kB / 0.9905 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.6609, allocations: 63.94 kB / 0.9905 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.661, allocations: 27.98 kB / 0.9906 GB, free: 12.26 MB / 0.7481 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0003653/0.6614, allocations: 316.7 kB / 0.9909 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.6615, allocations: 99.39 kB / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.6617, allocations: 100.8 kB / 0.9911 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6617, allocations: 7.938 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6617, allocations: 0 / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001838/0.6636, allocations: 1.022 MB / 0.9921 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.6678, allocations: 2.137 MB / 0.9942 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6678, allocations: 8.344 kB / 0.9942 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.6686, allocations: 159.8 kB / 0.9943 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6687, allocations: 12 kB / 0.9943 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.6687, allocations: 19.98 kB / 0.9944 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.6687, allocations: 8.812 kB / 0.9944 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6687, allocations: 7.938 kB / 0.9944 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.6716, allocations: 1.42 MB / 0.9958 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.672, allocations: 260.4 kB / 0.996 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6721, allocations: 15.94 kB / 0.996 GB, free: 6.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.673, allocations: 75.44 kB / 0.9961 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.6731, allocations: 43.92 kB / 0.9961 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.6732, allocations: 25.11 kB / 0.9962 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006634/0.6739, allocations: 0.6044 MB / 0.9967 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6739, allocations: 0 / 0.9967 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007317/0.6746, allocations: 267.9 kB / 0.997 GB, free: 5.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * 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.003447/0.6781, allocations: 2.092 MB / 0.999 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.68, allocations: 0.8038 MB / 0.9998 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.68, allocations: 4 kB / 0.9998 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009078/0.6809, allocations: 388.5 kB / 1 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.6832, allocations: 0.5794 MB / 1.001 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.6959, allocations: 8.216 MB / 1.009 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.6965, allocations: 1.11 MB / 1.01 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000808/0.6973, allocations: 267.8 kB / 1.01 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.6979, allocations: 351.3 kB / 1.01 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of SimCode: time 7.01e-07/0.6979, allocations: 0 / 1.01 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.7472, allocations: 28.73 MB / 1.039 GB, free: 11.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.409, allocations: 4.625 kB / 1.039 GB, free: 11.02 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)