Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001067/0.001067, allocations: 108 kB / 15.6 MB, free: 132 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.001145/0.001145, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003589/0.003589, allocations: 291 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 100.9 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4538/0.6023, allocations: 190.6 MB / 0.8664 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008994/0.6113, allocations: 5.728 MB / 0.872 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6124, allocations: 40.91 kB / 0.872 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.6138, allocations: 0.5786 MB / 0.8726 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.6177, allocations: 1.844 MB / 0.8744 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.6201, allocations: 1.177 MB / 0.8755 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.623, allocations: 2.941 MB / 0.8784 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.624, allocations: 0.9618 MB / 0.8793 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.6254, allocations: 1.043 MB / 0.8804 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6268, allocations: 0.9217 MB / 0.8813 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.627, allocations: 108.3 kB / 0.8814 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.6295, allocations: 1.429 MB / 0.8828 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.6299, allocations: 460.2 kB / 0.8832 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.6305, allocations: 0.6503 MB / 0.8838 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.6328, allocations: 2.12 MB / 0.8859 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6328, allocations: 0 / 0.8859 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6328, allocations: 0 / 0.8859 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.6328, allocations: 0 / 0.8859 GB, free: 2.211 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002142/0.635, allocations: 1.522 MB / 0.8874 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.635, allocations: 9.719 kB / 0.8874 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.6352, allocations: 139.6 kB / 0.8875 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.637, allocations: 312.5 kB / 0.8878 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.6382, allocations: 0.8131 MB / 0.8886 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.6383, allocations: 67.61 kB / 0.8887 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.6385, allocations: 89.78 kB / 0.8888 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.64, allocations: 0.9134 MB / 0.8897 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.64, allocations: 3.984 kB / 0.8897 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.6401, allocations: 42 kB / 0.8897 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.6402, allocations: 36.22 kB / 0.8897 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.6415, allocations: 0.8266 MB / 0.8905 GB, free: 15.15 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.004778/0.6463, allocations: 3.542 MB / 0.894 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.647, allocations: 0.4972 MB / 0.8945 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.6475, allocations: 292.3 kB / 0.8948 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6477, allocations: 101.5 kB / 0.8949 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6477, allocations: 43 kB / 0.8949 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.6477, allocations: 0 / 0.8949 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003611/0.6513, allocations: 1.919 MB / 0.8968 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.6514, allocations: 55.84 kB / 0.8968 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.6523, allocations: 0.8058 MB / 0.8976 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.6523, allocations: 41.7 kB / 0.8977 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.6527, allocations: 475.3 kB / 0.8981 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6528, allocations: 173.5 kB / 0.8983 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.653, allocations: 114.2 kB / 0.8984 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.6531, allocations: 337.9 kB / 0.8987 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.6535, allocations: 241.2 kB / 0.8989 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.6539, allocations: 349.3 kB / 0.8993 GB, free: 6.605 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.00342/0.6574, allocations: 1.546 MB / 0.9008 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6574, allocations: 7.938 kB / 0.9008 GB, free: 5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001178/0.6586, allocations: 0.7808 MB / 0.9016 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6586, allocations: 8 kB / 0.9016 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6586, allocations: 2.125 kB / 0.9016 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.6589, allocations: 97.67 kB / 0.9017 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.6595, allocations: 139.9 kB / 0.9018 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.6622, allocations: 3.302 MB / 0.905 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.663, allocations: 27.98 kB / 0.905 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.663, allocations: 27.98 kB / 0.9051 GB, free: 332 kB / 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.6635, allocations: 303.3 kB / 0.9054 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6636, allocations: 91.02 kB / 0.9054 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.6638, allocations: 100.7 kB / 0.9055 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6638, allocations: 4.688 kB / 0.9055 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6638, allocations: 0 / 0.9055 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009765/0.6648, allocations: 0.8504 MB / 0.9064 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.6674, allocations: 1.791 MB / 0.9081 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6674, allocations: 8.031 kB / 0.9081 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.668, allocations: 128.7 kB / 0.9083 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.6682, allocations: 64.81 kB / 0.9083 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.6682, allocations: 19.98 kB / 0.9083 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.6697, allocations: 1.785 MB / 0.9101 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6698, allocations: 7.938 kB / 0.9101 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6712, allocations: 1.068 MB / 0.9111 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.6715, allocations: 239.8 kB / 0.9114 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6717, allocations: 12 kB / 0.9114 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.6723, allocations: 33.59 kB / 0.9114 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6724, allocations: 47.89 kB / 0.9114 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.6725, allocations: 27.98 kB / 0.9115 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006383/0.6732, allocations: 0.5654 MB / 0.912 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.723e-06/0.6732, allocations: 0 / 0.912 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007911/0.674, allocations: 283.9 kB / 0.9123 GB, free: 8.504 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 (45): * Single equations (assignments): 44 * 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.001982/0.6759, allocations: 1.699 MB / 0.914 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.6773, allocations: 0.8588 MB / 0.9148 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6773, allocations: 4 kB / 0.9148 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.6779, allocations: 411.9 kB / 0.9152 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.6805, allocations: 0.6211 MB / 0.9158 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.6894, allocations: 7.274 MB / 0.9229 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.6901, allocations: 1.08 MB / 0.924 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008548/0.691, allocations: 215.7 kB / 0.9242 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.6914, allocations: 347.3 kB / 0.9245 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.6914, allocations: 0 / 0.9245 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/0.751, allocations: 27.83 MB / 0.9517 GB, free: 260 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.32, allocations: 8.438 kB / 0.9517 GB, free: 252 kB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)