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.001451/0.001451, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001494/0.001494, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 275 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 90.5 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1366, allocations: 86.98 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4124/0.549, allocations: 188.1 MB / 0.8634 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008058/0.5571, allocations: 5.69 MB / 0.869 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.5582, allocations: 40.12 kB / 0.869 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.5595, allocations: 0.5109 MB / 0.8695 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.5629, allocations: 1.529 MB / 0.871 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.5654, allocations: 1.106 MB / 0.8721 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.568, allocations: 2.563 MB / 0.8746 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009293/0.5689, allocations: 0.8532 MB / 0.8754 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.5704, allocations: 1.047 MB / 0.8764 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.5718, allocations: 0.8638 MB / 0.8773 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.5719, allocations: 96.88 kB / 0.8774 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.5743, allocations: 1.607 MB / 0.879 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.5747, allocations: 415.1 kB / 0.8793 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005149/0.5752, allocations: 0.5885 MB / 0.8799 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.5775, allocations: 2.095 MB / 0.882 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5775, allocations: 0 / 0.882 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5775, allocations: 0 / 0.882 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.5775, allocations: 0 / 0.882 GB, free: 5.355 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.002048/0.5796, allocations: 1.431 MB / 0.8834 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5796, allocations: 9.562 kB / 0.8834 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.5798, allocations: 133.4 kB / 0.8835 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.5824, allocations: 407.5 kB / 0.8839 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5836, allocations: 0.7662 MB / 0.8846 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5839, allocations: 113.3 kB / 0.8847 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.584, allocations: 74.19 kB / 0.8848 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5858, allocations: 0.9967 MB / 0.8858 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5858, allocations: 0 / 0.8858 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.5859, allocations: 31.69 kB / 0.8858 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5859, allocations: 37.3 kB / 0.8859 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.5877, allocations: 0.8739 MB / 0.8867 GB, free: 2.27 MB / 0.5919 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.005417/0.5932, allocations: 3.523 MB / 0.8901 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5948, allocations: 0.6268 MB / 0.8908 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.5955, allocations: 344.3 kB / 0.8911 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.5957, allocations: 101.1 kB / 0.8912 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5957, allocations: 45.08 kB / 0.8912 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.913e-06/0.5957, allocations: 0 / 0.8912 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008051/0.6038, allocations: 2.418 MB / 0.8936 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6038, allocations: 59.34 kB / 0.8936 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.6047, allocations: 0.7902 MB / 0.8944 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.6048, allocations: 37.7 kB / 0.8945 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.6051, allocations: 451.6 kB / 0.8949 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6052, allocations: 145.9 kB / 0.895 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.6054, allocations: 110 kB / 0.8951 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.6055, allocations: 326 kB / 0.8954 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/0.6063, allocations: 308.9 kB / 0.8957 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.6071, allocations: 416.1 kB / 0.8961 GB, free: 9.75 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.005309/0.6125, allocations: 1.898 MB / 0.898 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6125, allocations: 0 / 0.898 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00313/0.6156, allocations: 1.046 MB / 0.899 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6156, allocations: 7.938 kB / 0.899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6156, allocations: 4 kB / 0.899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.6162, allocations: 192.8 kB / 0.8992 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.6169, allocations: 143.8 kB / 0.8993 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.6206, allocations: 2.237 MB / 0.9015 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6216, allocations: 83.83 kB / 0.9016 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.6217, allocations: 23.98 kB / 0.9016 GB, free: 3.918 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.0003805/0.6221, allocations: 273.6 kB / 0.9019 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6222, allocations: 90.91 kB / 0.902 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.6224, allocations: 96.23 kB / 0.9021 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6224, allocations: 4 kB / 0.9021 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6224, allocations: 3.938 kB / 0.9021 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002872/0.6253, allocations: 0.9064 MB / 0.903 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.6304, allocations: 2.119 MB / 0.905 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6304, allocations: 13.5 kB / 0.905 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.6311, allocations: 128.2 kB / 0.9052 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.6316, allocations: 188.7 kB / 0.9053 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.6317, allocations: 19.98 kB / 0.9054 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.6351, allocations: 2.175 MB / 0.9075 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.6351, allocations: 11.92 kB / 0.9075 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.6389, allocations: 1.432 MB / 0.9089 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.6392, allocations: 236 kB / 0.9091 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6393, allocations: 12 kB / 0.9091 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009426/0.6403, allocations: 96.78 kB / 0.9092 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.6404, allocations: 43.83 kB / 0.9093 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.6404, allocations: 31.97 kB / 0.9093 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006151/0.6411, allocations: 0.5498 MB / 0.9098 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6411, allocations: 0 / 0.9098 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000798/0.6419, allocations: 276 kB / 0.9101 GB, free: 10.88 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.004282/0.6462, allocations: 2.078 MB / 0.9121 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.6482, allocations: 0.852 MB / 0.913 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6482, allocations: 0 / 0.913 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.6491, allocations: 463.5 kB / 0.9134 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.6514, allocations: 0.5505 MB / 0.9139 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.6666, allocations: 8.239 MB / 0.922 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.6672, allocations: 1.044 MB / 0.923 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007828/0.668, allocations: 203.2 kB / 0.9232 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.6684, allocations: 315.3 kB / 0.9235 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.6684, allocations: 0 / 0.9235 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7217/1.39, allocations: 27.43 MB / 0.9503 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.39, allocations: 338.6 kB / 0.9506 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.782, allocations: 4 kB / 0.9506 GB, free: 1.5 MB / 0.6544 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)