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.0007456/0.0007457, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004162/0.004162, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 282.4 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 13.75 kB / 0.5988 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4371/0.5721, allocations: 185.9 MB / 0.8667 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008081/0.5802, allocations: 5.742 MB / 0.8723 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.581, allocations: 35.31 kB / 0.8724 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.5822, allocations: 0.495 MB / 0.8728 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.5852, allocations: 1.539 MB / 0.8744 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.5876, allocations: 1.081 MB / 0.8754 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.5906, allocations: 3.553 MB / 0.8789 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.5914, allocations: 0.7138 MB / 0.8796 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.5927, allocations: 0.8733 MB / 0.8804 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.5941, allocations: 0.812 MB / 0.8812 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.5942, allocations: 40.56 kB / 0.8813 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.5966, allocations: 1.715 MB / 0.8829 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.5969, allocations: 342.9 kB / 0.8833 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.5974, allocations: 0.542 MB / 0.8838 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.5994, allocations: 2.013 MB / 0.8858 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5994, allocations: 4 kB / 0.8858 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.326e-06/0.5994, allocations: 3.938 kB / 0.8858 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5994, allocations: 3.938 kB / 0.8858 GB, free: 2.469 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.001859/0.6013, allocations: 1.228 MB / 0.887 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6014, allocations: 12.03 kB / 0.887 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.6015, allocations: 122.6 kB / 0.8871 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.6041, allocations: 434.3 kB / 0.8875 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6053, allocations: 0.7687 MB / 0.8883 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.6057, allocations: 125.9 kB / 0.8884 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6058, allocations: 75.94 kB / 0.8885 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.6076, allocations: 1.006 MB / 0.8894 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6077, allocations: 0 / 0.8894 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.6078, allocations: 39.97 kB / 0.8895 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.6078, allocations: 29.94 kB / 0.8895 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.6098, allocations: 0.9173 MB / 0.8904 GB, free: 13.61 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.005593/0.6154, allocations: 3.533 MB / 0.8938 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.6171, allocations: 0.66 MB / 0.8945 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.618, allocations: 357.3 kB / 0.8948 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6182, allocations: 101.4 kB / 0.8949 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6182, allocations: 39.22 kB / 0.895 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.6182, allocations: 0 / 0.895 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008105/0.6263, allocations: 2.531 MB / 0.8974 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6263, allocations: 59.41 kB / 0.8975 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.6272, allocations: 0.794 MB / 0.8983 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.6273, allocations: 37.7 kB / 0.8983 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.6276, allocations: 451.7 kB / 0.8987 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6277, allocations: 149.8 kB / 0.8989 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-05/0.6278, allocations: 45.7 kB / 0.8989 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6279, allocations: 330 kB / 0.8992 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.6288, allocations: 320.9 kB / 0.8995 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.6297, allocations: 432.1 kB / 0.9 GB, free: 3.441 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.005632/0.6353, allocations: 1.984 MB / 0.9019 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6353, allocations: 0 / 0.9019 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003277/0.6386, allocations: 1.089 MB / 0.903 GB, free: 308 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6386, allocations: 9.812 kB / 0.903 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6387, allocations: 4 kB / 0.903 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/0.6392, allocations: 192.7 kB / 0.9032 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.64, allocations: 167.8 kB / 0.9033 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.6437, allocations: 2.112 MB / 0.9054 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.6446, allocations: 84.53 kB / 0.9055 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.6447, allocations: 23.98 kB / 0.9055 GB, free: 13.59 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0003572/0.6451, allocations: 281.6 kB / 0.9057 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6452, allocations: 90.91 kB / 0.9058 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.6454, allocations: 92.25 kB / 0.9059 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6454, allocations: 11.98 kB / 0.9059 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.6454, allocations: 0 / 0.9059 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002977/0.6484, allocations: 0.9533 MB / 0.9069 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.6536, allocations: 2.177 MB / 0.909 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6536, allocations: 4 kB / 0.909 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.6543, allocations: 144.2 kB / 0.9091 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.6549, allocations: 188.8 kB / 0.9093 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.6549, allocations: 23.88 kB / 0.9093 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.6583, allocations: 2.073 MB / 0.9114 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6583, allocations: 4 kB / 0.9114 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.6623, allocations: 1.49 MB / 0.9128 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.6626, allocations: 240 kB / 0.913 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6627, allocations: 12 kB / 0.9131 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/0.6637, allocations: 95.75 kB / 0.9132 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.6638, allocations: 43.88 kB / 0.9132 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.6639, allocations: 27.98 kB / 0.9132 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006298/0.6645, allocations: 0.5537 MB / 0.9138 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6645, allocations: 0 / 0.9138 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007896/0.6653, allocations: 280 kB / 0.914 GB, free: 4.465 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.00454/0.6698, allocations: 2.133 MB / 0.9161 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.6719, allocations: 0.8331 MB / 0.9169 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6719, allocations: 0 / 0.9169 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009954/0.6729, allocations: 487.1 kB / 0.9174 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.6758, allocations: 0.5254 MB / 0.9179 GB, free: 432 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.6916, allocations: 8.437 MB / 0.9261 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.6922, allocations: 1.044 MB / 0.9272 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007642/0.693, allocations: 207.2 kB / 0.9274 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.6934, allocations: 315.3 kB / 0.9277 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.6935, allocations: 0 / 0.9277 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.7343, allocations: 26.36 MB / 0.9534 GB, free: 12.29 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.7345, allocations: 343.6 kB / 0.9537 GB, free: 11.89 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.073, allocations: 0 / 0.9537 GB, free: 11.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)