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.0009964/0.0009965, 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.001049/0.001049, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.9385/0.9385, allocations: 143 MB / 433.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 0.5138 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 82.04 MB / 0.5939 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4102/0.5485, allocations: 188.2 MB / 0.7777 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008802/0.5573, allocations: 5.689 MB / 0.7832 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.5585, allocations: 35.75 kB / 0.7833 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.5601, allocations: 0.517 MB / 0.7838 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.5643, allocations: 1.526 MB / 0.7853 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.5673, allocations: 1.101 MB / 0.7863 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.5707, allocations: 2.558 MB / 0.7888 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.5718, allocations: 0.8648 MB / 0.7897 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.5737, allocations: 1.051 MB / 0.7907 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.5754, allocations: 0.8537 MB / 0.7915 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.5756, allocations: 100 kB / 0.7916 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.5792, allocations: 1.606 MB / 0.7932 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.5797, allocations: 414.9 kB / 0.7936 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.5804, allocations: 0.5911 MB / 0.7942 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.5835, allocations: 2.146 MB / 0.7963 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5835, allocations: 4 kB / 0.7963 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5836, allocations: 0 / 0.7963 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.5836, allocations: 4 kB / 0.7963 GB, free: 14.36 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.002232/0.5858, allocations: 1.433 MB / 0.7977 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.5859, allocations: 8.625 kB / 0.7977 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.586, allocations: 122.6 kB / 0.7978 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.5887, allocations: 423.1 kB / 0.7982 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.59, allocations: 0.7609 MB / 0.7989 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.5903, allocations: 113.9 kB / 0.799 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5904, allocations: 79.94 kB / 0.7991 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.5923, allocations: 0.9905 MB / 0.8001 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5923, allocations: 0 / 0.8001 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.5924, allocations: 36 kB / 0.8001 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.5925, allocations: 33.98 kB / 0.8002 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.5944, allocations: 0.8783 MB / 0.801 GB, free: 9.383 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.005874/0.6003, allocations: 3.513 MB / 0.8044 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.602, allocations: 0.6292 MB / 0.8051 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.6027, allocations: 341.3 kB / 0.8054 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.6029, allocations: 97.75 kB / 0.8055 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.603, allocations: 38.56 kB / 0.8055 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.603, allocations: 3.938 kB / 0.8055 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.007961/0.6109, allocations: 2.413 MB / 0.8079 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.611, allocations: 55.41 kB / 0.8079 GB, free: 2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.6119, allocations: 0.7979 MB / 0.8087 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.612, allocations: 37.64 kB / 0.8087 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.6123, allocations: 459.6 kB / 0.8092 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.6125, allocations: 137.9 kB / 0.8093 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.6127, allocations: 110.1 kB / 0.8094 GB, free: 456 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6128, allocations: 330 kB / 0.8097 GB, free: 120 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/0.6136, allocations: 308.9 kB / 0.81 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.6145, allocations: 412.1 kB / 0.8104 GB, free: 15.37 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.00543/0.62, allocations: 1.909 MB / 0.8123 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.62, allocations: 0 / 0.8123 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003248/0.6232, allocations: 1.05 MB / 0.8133 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6233, allocations: 9.969 kB / 0.8133 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6233, allocations: 4 kB / 0.8133 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6239, allocations: 188.8 kB / 0.8135 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.6246, allocations: 143.8 kB / 0.8136 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.629, allocations: 2.239 MB / 0.8158 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.63, allocations: 75.92 kB / 0.8159 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.6301, allocations: 23.98 kB / 0.8159 GB, free: 9.539 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.0004293/0.6305, allocations: 285.5 kB / 0.8162 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.6307, allocations: 94.91 kB / 0.8163 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.6308, allocations: 96.23 kB / 0.8164 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6309, allocations: 4 kB / 0.8164 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6309, allocations: 0 / 0.8164 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/0.6338, allocations: 0.8988 MB / 0.8173 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.639, allocations: 2.116 MB / 0.8193 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.639, allocations: 7.938 kB / 0.8193 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/0.6397, allocations: 132.1 kB / 0.8195 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005351/0.6402, allocations: 176.7 kB / 0.8196 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.6403, allocations: 23.97 kB / 0.8197 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.6439, allocations: 2.192 MB / 0.8218 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6439, allocations: 4 kB / 0.8218 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.6478, allocations: 1.427 MB / 0.8232 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.6483, allocations: 244 kB / 0.8234 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.6484, allocations: 8 kB / 0.8234 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.6493, allocations: 98.28 kB / 0.8235 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6494, allocations: 44.81 kB / 0.8236 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.6495, allocations: 31.98 kB / 0.8236 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006869/0.6502, allocations: 0.5537 MB / 0.8241 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6502, allocations: 3.938 kB / 0.8241 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008671/0.6511, allocations: 276 kB / 0.8244 GB, free: 0.5 MB / 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 (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.004492/0.6556, allocations: 2.076 MB / 0.8264 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.6577, allocations: 0.8503 MB / 0.8273 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6577, allocations: 4 kB / 0.8273 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.6587, allocations: 463.5 kB / 0.8277 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.6611, allocations: 0.5359 MB / 0.8282 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.677, allocations: 8.274 MB / 0.8363 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.6776, allocations: 1.048 MB / 0.8373 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.6785, allocations: 203.2 kB / 0.8375 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.6789, allocations: 321.6 kB / 0.8378 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of SimCode: time 6.42e-07/0.679, allocations: 0 / 0.8378 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2627/0.9417, allocations: 27.41 MB / 0.8646 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.9418, allocations: 340.1 kB / 0.8649 GB, free: 211.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.231, allocations: 4 kB / 0.8649 GB, free: 211.5 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)