Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009975/0.0009976, 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.0009852/0.0009852, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.182/1.182, 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.8613/0.8613, allocations: 143 MB / 433 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.5136 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 82.04 MB / 0.5937 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.3564/0.4836, allocations: 188.4 MB / 0.7777 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007845/0.4914, allocations: 5.804 MB / 0.7834 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.4923, allocations: 35.81 kB / 0.7834 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.4935, allocations: 0.4935 MB / 0.7839 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.4964, allocations: 1.533 MB / 0.7854 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.4988, allocations: 1.081 MB / 0.7864 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.5018, allocations: 3.541 MB / 0.7899 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.5026, allocations: 0.7408 MB / 0.7906 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5039, allocations: 0.9179 MB / 0.7915 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5053, allocations: 0.8484 MB / 0.7924 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5054, allocations: 52 kB / 0.7924 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.5079, allocations: 1.726 MB / 0.7941 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.5083, allocations: 362.9 kB / 0.7944 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.5088, allocations: 0.5327 MB / 0.795 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.5109, allocations: 2.107 MB / 0.797 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5109, allocations: 4 kB / 0.797 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5109, allocations: 0 / 0.797 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.5109, allocations: 0 / 0.797 GB, free: 13.46 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002017/0.5129, allocations: 1.437 MB / 0.7984 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.513, allocations: 12.03 kB / 0.7984 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.5131, allocations: 122.6 kB / 0.7985 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.5156, allocations: 422.2 kB / 0.799 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5167, allocations: 0.7609 MB / 0.7997 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.5171, allocations: 109.9 kB / 0.7998 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5172, allocations: 79.98 kB / 0.7999 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.5188, allocations: 0.9905 MB / 0.8008 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5189, allocations: 7.938 kB / 0.8008 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.519, allocations: 36 kB / 0.8009 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.519, allocations: 26 kB / 0.8009 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5208, allocations: 0.8822 MB / 0.8018 GB, free: 8.469 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.005236/0.526, allocations: 3.51 MB / 0.8052 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.5275, allocations: 0.633 MB / 0.8058 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.5283, allocations: 333.3 kB / 0.8061 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.5284, allocations: 105.8 kB / 0.8062 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5285, allocations: 38.56 kB / 0.8063 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.5285, allocations: 0 / 0.8063 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.007311/0.5358, allocations: 2.421 MB / 0.8086 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5358, allocations: 59.39 kB / 0.8087 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.5367, allocations: 0.7979 MB / 0.8095 GB, free: 272 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.5367, allocations: 37.7 kB / 0.8095 GB, free: 228 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.537, allocations: 447.7 kB / 0.8099 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5372, allocations: 149.9 kB / 0.8101 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.5373, allocations: 106.1 kB / 0.8102 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.5374, allocations: 326 kB / 0.8105 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.5381, allocations: 304.9 kB / 0.8108 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.5389, allocations: 412.1 kB / 0.8112 GB, free: 14.46 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.00479/0.5437, allocations: 1.906 MB / 0.813 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5437, allocations: 0 / 0.813 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002808/0.5465, allocations: 1.046 MB / 0.8141 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5466, allocations: 11.98 kB / 0.8141 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5466, allocations: 0 / 0.8141 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/0.5471, allocations: 188.8 kB / 0.8142 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5477, allocations: 147.8 kB / 0.8144 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.5509, allocations: 2.083 MB / 0.8164 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.5518, allocations: 79.83 kB / 0.8165 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.5518, allocations: 27.98 kB / 0.8165 GB, free: 8.781 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 (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.0003059/0.5521, allocations: 269.6 kB / 0.8168 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5523, allocations: 86.97 kB / 0.8169 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.5524, allocations: 104.2 kB / 0.817 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5525, allocations: 4 kB / 0.817 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.5525, allocations: 3.938 kB / 0.817 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002525/0.555, allocations: 0.8989 MB / 0.8179 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.5596, allocations: 2.116 MB / 0.8199 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5596, allocations: 4 kB / 0.8199 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.5602, allocations: 132.2 kB / 0.82 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.5607, allocations: 192.8 kB / 0.8202 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.5607, allocations: 15.92 kB / 0.8202 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.5637, allocations: 2.026 MB / 0.8222 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5637, allocations: 7.938 kB / 0.8222 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.5673, allocations: 1.435 MB / 0.8236 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.5677, allocations: 236 kB / 0.8239 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5678, allocations: 15.98 kB / 0.8239 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/0.5686, allocations: 85.95 kB / 0.824 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.5687, allocations: 43.81 kB / 0.824 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.5688, allocations: 27.98 kB / 0.824 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006158/0.5694, allocations: 0.5614 MB / 0.8246 GB, free: 192 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5694, allocations: 0 / 0.8246 GB, free: 192 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007542/0.5702, allocations: 272 kB / 0.8248 GB, free: 15.92 MB / 0.6544 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.00405/0.5742, allocations: 2.082 MB / 0.8269 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.5761, allocations: 0.8116 MB / 0.8277 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5761, allocations: 0 / 0.8277 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008772/0.577, allocations: 459.3 kB / 0.8281 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.5791, allocations: 0.5315 MB / 0.8286 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.5934, allocations: 8.249 MB / 0.8367 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.594, allocations: 1.048 MB / 0.8377 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007053/0.5947, allocations: 207.1 kB / 0.8379 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5951, allocations: 314 kB / 0.8382 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5951, allocations: 0 / 0.8382 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8575/1.453, allocations: 26.61 MB / 0.8642 GB, free: 210.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.453, allocations: 340 kB / 0.8645 GB, free: 210.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.717, allocations: 0 / 0.8645 GB, free: 210.1 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)