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.001534/0.001534, allocations: 105.4 kB / 15.7 MB, free: 24 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.001746/0.001746, allocations: 196.9 kB / 16.64 MB, free: 6.453 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.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002074, allocations: 282.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 101.3 kB / 0.5955 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 86.98 MB / 0.6804 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4863/0.6403, allocations: 190.6 MB / 0.8666 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.6494, allocations: 5.726 MB / 0.8721 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.6509, allocations: 39.38 kB / 0.8722 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.6525, allocations: 0.5856 MB / 0.8728 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.6562, allocations: 1.618 MB / 0.8743 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.6591, allocations: 1.218 MB / 0.8755 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.6618, allocations: 2.57 MB / 0.878 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009884/0.6628, allocations: 0.8765 MB / 0.8789 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.6643, allocations: 1.051 MB / 0.8799 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6656, allocations: 0.8115 MB / 0.8807 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.6658, allocations: 98 kB / 0.8808 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.6683, allocations: 1.533 MB / 0.8823 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.6687, allocations: 408.3 kB / 0.8827 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.6692, allocations: 0.5885 MB / 0.8833 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.6715, allocations: 2.017 MB / 0.8852 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6715, allocations: 2.812 kB / 0.8852 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6715, allocations: 0 / 0.8852 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.6715, allocations: 0 / 0.8852 GB, free: 2.617 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.002051/0.6736, allocations: 1.432 MB / 0.8866 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6736, allocations: 10.38 kB / 0.8866 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.6738, allocations: 126.1 kB / 0.8868 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.6763, allocations: 418 kB / 0.8872 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6775, allocations: 0.8074 MB / 0.888 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.6776, allocations: 55.91 kB / 0.888 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6777, allocations: 74.38 kB / 0.8881 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.6793, allocations: 0.9856 MB / 0.889 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.6794, allocations: 3.938 kB / 0.889 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.6794, allocations: 33.41 kB / 0.8891 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.6795, allocations: 29.14 kB / 0.8891 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.6812, allocations: 0.8664 MB / 0.89 GB, free: 15.53 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.005246/0.6865, allocations: 3.484 MB / 0.8934 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.688, allocations: 0.6094 MB / 0.8939 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.6887, allocations: 334.4 kB / 0.8943 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.6889, allocations: 101.4 kB / 0.8944 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6889, allocations: 41.16 kB / 0.8944 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/0.689, allocations: 0 / 0.8944 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007772/0.6967, allocations: 2.391 MB / 0.8967 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.6968, allocations: 55.41 kB / 0.8968 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/0.6977, allocations: 0.7979 MB / 0.8976 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.6978, allocations: 37.7 kB / 0.8976 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.6981, allocations: 455.7 kB / 0.898 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.6982, allocations: 141.9 kB / 0.8982 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.6984, allocations: 106.1 kB / 0.8983 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6986, allocations: 330 kB / 0.8986 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.6993, allocations: 296.9 kB / 0.8989 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.7001, allocations: 416 kB / 0.8993 GB, free: 6.746 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.00515/0.7053, allocations: 1.875 MB / 0.9011 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7053, allocations: 0 / 0.9011 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003041/0.7083, allocations: 1.034 MB / 0.9021 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7084, allocations: 4 kB / 0.9021 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.7084, allocations: 4 kB / 0.9021 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.709, allocations: 192.8 kB / 0.9023 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.7097, allocations: 147.8 kB / 0.9024 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.7134, allocations: 2.233 MB / 0.9046 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/0.7144, allocations: 52.02 kB / 0.9047 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.7144, allocations: 23.98 kB / 0.9047 GB, free: 0.9883 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.000425/0.7148, allocations: 277.6 kB / 0.905 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.715, allocations: 94.91 kB / 0.9051 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.7152, allocations: 96.17 kB / 0.9051 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7153, allocations: 7.938 kB / 0.9052 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7153, allocations: 0 / 0.9052 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/0.7181, allocations: 0.8995 MB / 0.906 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00513/0.7232, allocations: 2.091 MB / 0.9081 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.7232, allocations: 7.984 kB / 0.9081 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.7239, allocations: 123.8 kB / 0.9082 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00054/0.7244, allocations: 194 kB / 0.9084 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.7245, allocations: 12 kB / 0.9084 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.728, allocations: 2.194 MB / 0.9105 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.728, allocations: 7.938 kB / 0.9105 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.7317, allocations: 1.405 MB / 0.9119 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.7321, allocations: 243.9 kB / 0.9122 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.7323, allocations: 16 kB / 0.9122 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/0.7332, allocations: 63.22 kB / 0.9122 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.7333, allocations: 39.89 kB / 0.9123 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.7334, allocations: 27.98 kB / 0.9123 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007525/0.7341, allocations: 0.5537 MB / 0.9128 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7341, allocations: 0 / 0.9128 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000974/0.7351, allocations: 272 kB / 0.9131 GB, free: 8.027 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.004352/0.7395, allocations: 2.061 MB / 0.9151 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.7415, allocations: 0.8054 MB / 0.9159 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7415, allocations: 0 / 0.9159 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.7424, allocations: 464.7 kB / 0.9163 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.7447, allocations: 0.5471 MB / 0.9169 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.7606, allocations: 7.643 MB / 0.9243 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.7613, allocations: 1.044 MB / 0.9254 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008085/0.7622, allocations: 207.1 kB / 0.9255 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.7626, allocations: 319.3 kB / 0.9259 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/0.7627, allocations: 0 / 0.9259 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07328/0.8359, allocations: 27.67 MB / 0.9529 GB, free: 15.45 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.63, allocations: 14.77 kB / 0.9529 GB, free: 15.44 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)