Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001119/0.001119, allocations: 195.9 kB / 16.14 MB, free: 6.688 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8765/0.8765, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1232, allocations: 82.05 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.3589/0.4821, allocations: 188.4 MB / 0.7777 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007734/0.4899, allocations: 5.789 MB / 0.7834 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.4907, allocations: 35.75 kB / 0.7834 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.4919, allocations: 0.5052 MB / 0.7839 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.4953, allocations: 1.735 MB / 0.7856 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4975, allocations: 1.084 MB / 0.7866 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.5008, allocations: 4.09 MB / 0.7906 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.5017, allocations: 0.8067 MB / 0.7914 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.5028, allocations: 0.8945 MB / 0.7923 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.5042, allocations: 0.9436 MB / 0.7932 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.5044, allocations: 59.94 kB / 0.7933 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.5068, allocations: 1.633 MB / 0.7949 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.5072, allocations: 410.8 kB / 0.7953 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.5077, allocations: 0.5949 MB / 0.7958 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5098, allocations: 2.239 MB / 0.798 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5098, allocations: 0 / 0.798 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5098, allocations: 0 / 0.798 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.5099, allocations: 0 / 0.798 GB, free: 12.41 MB / 0.6231 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.002092/0.512, allocations: 1.519 MB / 0.7995 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.512, allocations: 8.031 kB / 0.7995 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.5122, allocations: 139.2 kB / 0.7996 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.514, allocations: 318.3 kB / 0.8 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.515, allocations: 0.8123 MB / 0.8007 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.5151, allocations: 62 kB / 0.8008 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5152, allocations: 87.94 kB / 0.8009 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5166, allocations: 0.9209 MB / 0.8018 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5166, allocations: 0 / 0.8018 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.5167, allocations: 39.98 kB / 0.8018 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.5168, allocations: 30 kB / 0.8019 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.5181, allocations: 0.8315 MB / 0.8027 GB, free: 7.551 MB / 0.6231 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.004521/0.5226, allocations: 3.513 MB / 0.8061 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.5233, allocations: 0.5058 MB / 0.8066 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.5238, allocations: 297.9 kB / 0.8069 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.5239, allocations: 105.5 kB / 0.807 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.524, allocations: 47 kB / 0.807 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.524, allocations: 0 / 0.807 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003515/0.5275, allocations: 1.911 MB / 0.8089 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.5275, allocations: 63.84 kB / 0.8089 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.5284, allocations: 0.802 MB / 0.8097 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.5284, allocations: 41.69 kB / 0.8098 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.5288, allocations: 471.4 kB / 0.8102 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5289, allocations: 169.4 kB / 0.8104 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.5291, allocations: 114.2 kB / 0.8105 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5292, allocations: 333.9 kB / 0.8108 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.5296, allocations: 245.2 kB / 0.811 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.5301, allocations: 357.2 kB / 0.8114 GB, free: 14.18 MB / 0.6387 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.00346/0.5335, allocations: 1.531 MB / 0.8129 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5336, allocations: 0 / 0.8129 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001183/0.5347, allocations: 0.7844 MB / 0.8136 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5348, allocations: 8 kB / 0.8137 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5348, allocations: 4 kB / 0.8137 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.5351, allocations: 97.98 kB / 0.8137 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.5357, allocations: 147.7 kB / 0.8139 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.5382, allocations: 3.063 MB / 0.8169 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/0.539, allocations: 59.86 kB / 0.8169 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.539, allocations: 24 kB / 0.817 GB, free: 8.137 MB / 0.6387 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.0003829/0.5394, allocations: 300.2 kB / 0.8172 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5396, allocations: 98.81 kB / 0.8173 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.5397, allocations: 100.7 kB / 0.8174 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5398, allocations: 4 kB / 0.8174 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5398, allocations: 0 / 0.8174 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000953/0.5407, allocations: 0.8388 MB / 0.8183 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.5432, allocations: 1.792 MB / 0.82 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5433, allocations: 0 / 0.82 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/0.5438, allocations: 128.2 kB / 0.8201 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.5441, allocations: 76.69 kB / 0.8202 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5441, allocations: 16 kB / 0.8202 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.5455, allocations: 1.655 MB / 0.8218 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5455, allocations: 4 kB / 0.8218 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5469, allocations: 1.069 MB / 0.8229 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.5472, allocations: 243.8 kB / 0.8231 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5473, allocations: 8 kB / 0.8231 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.5481, allocations: 62.53 kB / 0.8232 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5482, allocations: 55.81 kB / 0.8232 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.5482, allocations: 27.98 kB / 0.8233 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006046/0.5489, allocations: 0.5537 MB / 0.8238 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5489, allocations: 0 / 0.8238 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007797/0.5496, allocations: 288 kB / 0.8241 GB, free: 452 kB / 0.6387 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.00192/0.5516, allocations: 1.714 MB / 0.8258 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.5527, allocations: 0.8076 MB / 0.8265 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5527, allocations: 0 / 0.8265 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.5533, allocations: 411.7 kB / 0.8269 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.5557, allocations: 0.5779 MB / 0.8275 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009127/0.5649, allocations: 7.632 MB / 0.835 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.5655, allocations: 1.087 MB / 0.836 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007173/0.5662, allocations: 214 kB / 0.8362 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.5666, allocations: 339.3 kB / 0.8365 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5666, allocations: 0 / 0.8365 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.782/1.349, allocations: 26.71 MB / 0.8626 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.349, allocations: 306.6 kB / 0.8629 GB, free: 210.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/3.529, allocations: 0 / 0.8629 GB, free: 210.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)