Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001057/0.001057, allocations: 108 kB / 15.61 MB, free: 152 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.001269/0.001269, allocations: 197 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 291 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 94.27 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1421, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4377/0.5798, allocations: 190.6 MB / 0.8664 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008445/0.5883, allocations: 5.729 MB / 0.872 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.5894, allocations: 44.16 kB / 0.872 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.5907, allocations: 0.5815 MB / 0.8726 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.594, allocations: 1.618 MB / 0.8742 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.5966, allocations: 1.207 MB / 0.8753 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5989, allocations: 2.566 MB / 0.8778 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.5999, allocations: 0.8851 MB / 0.8787 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.6013, allocations: 1.036 MB / 0.8797 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.6025, allocations: 0.8154 MB / 0.8805 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6027, allocations: 96.09 kB / 0.8806 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.6051, allocations: 1.544 MB / 0.8821 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.6054, allocations: 408.4 kB / 0.8825 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.606, allocations: 0.5843 MB / 0.8831 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.6082, allocations: 2.012 MB / 0.885 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6082, allocations: 0 / 0.885 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6082, allocations: 0 / 0.885 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.6083, allocations: 0 / 0.885 GB, free: 2.766 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002029/0.6103, allocations: 1.431 MB / 0.8864 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.6103, allocations: 13.56 kB / 0.8865 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.6105, allocations: 127 kB / 0.8866 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.613, allocations: 412.2 kB / 0.887 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6141, allocations: 0.7605 MB / 0.8877 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.6145, allocations: 116.7 kB / 0.8878 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6146, allocations: 78.58 kB / 0.8879 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6163, allocations: 0.9998 MB / 0.8889 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6163, allocations: 0 / 0.8889 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.6164, allocations: 31.19 kB / 0.8889 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.6164, allocations: 30.09 kB / 0.8889 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6183, allocations: 0.8779 MB / 0.8898 GB, free: 15.68 MB / 0.6075 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.005592/0.6239, allocations: 3.529 MB / 0.8932 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.6256, allocations: 0.6277 MB / 0.8938 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.6264, allocations: 338.4 kB / 0.8942 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6266, allocations: 97.75 kB / 0.8943 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.6266, allocations: 42.56 kB / 0.8943 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.6267, allocations: 0 / 0.8943 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007881/0.6345, allocations: 2.422 MB / 0.8967 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6346, allocations: 55.41 kB / 0.8967 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.6355, allocations: 0.7902 MB / 0.8975 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.6355, allocations: 33.7 kB / 0.8975 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.6358, allocations: 459.6 kB / 0.898 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.636, allocations: 141.9 kB / 0.8981 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.6361, allocations: 110.1 kB / 0.8982 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6363, allocations: 330 kB / 0.8985 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007956/0.6371, allocations: 306.9 kB / 0.8988 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.6379, allocations: 416 kB / 0.8992 GB, free: 6.711 MB / 0.6075 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.005343/0.6433, allocations: 1.906 MB / 0.9011 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6433, allocations: 0 / 0.9011 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003192/0.6465, allocations: 1.05 MB / 0.9021 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6465, allocations: 5.562 kB / 0.9021 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6465, allocations: 4 kB / 0.9021 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.6471, allocations: 184.8 kB / 0.9023 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.6478, allocations: 143.8 kB / 0.9024 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.6518, allocations: 2.23 MB / 0.9046 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.6528, allocations: 56 kB / 0.9047 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.6529, allocations: 20 kB / 0.9047 GB, free: 0.9141 MB / 0.6075 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004204/0.6533, allocations: 281.6 kB / 0.9049 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.6535, allocations: 90.91 kB / 0.905 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.6537, allocations: 96.23 kB / 0.9051 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.6537, allocations: 7.938 kB / 0.9051 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6537, allocations: 0.5 kB / 0.9051 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00293/0.6566, allocations: 0.915 MB / 0.906 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/0.6619, allocations: 2.117 MB / 0.9081 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6619, allocations: 8.125 kB / 0.9081 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.6626, allocations: 132.2 kB / 0.9082 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005407/0.6631, allocations: 188.7 kB / 0.9084 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.6632, allocations: 16 kB / 0.9084 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.6667, allocations: 2.188 MB / 0.9106 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6667, allocations: 0 / 0.9106 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.6705, allocations: 1.44 MB / 0.912 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.6709, allocations: 228.1 kB / 0.9122 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.671, allocations: 15.98 kB / 0.9122 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000847/0.6719, allocations: 61.5 kB / 0.9122 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.672, allocations: 43.86 kB / 0.9123 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.6721, allocations: 31.98 kB / 0.9123 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006634/0.6727, allocations: 0.5537 MB / 0.9129 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6727, allocations: 0 / 0.9129 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008229/0.6736, allocations: 279.9 kB / 0.9131 GB, free: 7.879 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004388/0.678, allocations: 2.066 MB / 0.9151 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.6801, allocations: 0.8486 MB / 0.916 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.6801, allocations: 12.06 kB / 0.916 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.6811, allocations: 462.5 kB / 0.9164 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.6835, allocations: 0.5508 MB / 0.917 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.6984, allocations: 7.969 MB / 0.9247 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.6989, allocations: 1.044 MB / 0.9258 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007661/0.6997, allocations: 199.2 kB / 0.926 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.7001, allocations: 315.3 kB / 0.9263 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.7001, allocations: 0 / 0.9263 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.754, allocations: 27.66 MB / 0.9533 GB, free: 14.88 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.33, allocations: 7.469 kB / 0.9533 GB, free: 14.88 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)