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.0007001/0.0007001, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004284/0.004284, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.8755/0.8755, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 83.42 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.372/0.504, allocations: 185.9 MB / 0.7795 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007429/0.5114, allocations: 5.74 MB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.5119, allocations: 31.81 kB / 0.7852 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5129, allocations: 0.5013 MB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.5159, allocations: 1.736 MB / 0.7873 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.5179, allocations: 1.088 MB / 0.7884 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003321/0.5212, allocations: 4.088 MB / 0.7924 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.5221, allocations: 0.7782 MB / 0.7932 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5231, allocations: 0.8633 MB / 0.794 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.5245, allocations: 0.9158 MB / 0.7949 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.165e-05/0.5246, allocations: 40 kB / 0.7949 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.5268, allocations: 1.629 MB / 0.7965 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.5271, allocations: 386.8 kB / 0.7969 GB, free: 212 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.5276, allocations: 0.5927 MB / 0.7975 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.5296, allocations: 2.2 MB / 0.7996 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5296, allocations: 0 / 0.7996 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5296, allocations: 4 kB / 0.7996 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5296, allocations: 0 / 0.7996 GB, free: 13.39 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.001811/0.5314, allocations: 1.289 MB / 0.8009 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5315, allocations: 12.03 kB / 0.8009 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.5316, allocations: 139.2 kB / 0.801 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.5334, allocations: 318.2 kB / 0.8013 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.5345, allocations: 0.8124 MB / 0.8021 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.5345, allocations: 65.98 kB / 0.8022 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.5347, allocations: 91.89 kB / 0.8023 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5361, allocations: 0.9185 MB / 0.8032 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5361, allocations: 0 / 0.8032 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.5362, allocations: 36 kB / 0.8032 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.5362, allocations: 34 kB / 0.8032 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.5375, allocations: 0.8432 MB / 0.8041 GB, free: 8.742 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.004497/0.542, allocations: 3.544 MB / 0.8075 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.5427, allocations: 0.5009 MB / 0.808 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.5432, allocations: 298 kB / 0.8083 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.5433, allocations: 97.53 kB / 0.8084 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5434, allocations: 47 kB / 0.8084 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.433e-06/0.5434, allocations: 4 kB / 0.8084 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003428/0.5468, allocations: 1.95 MB / 0.8103 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5468, allocations: 55.84 kB / 0.8104 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.5477, allocations: 0.8136 MB / 0.8112 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.5477, allocations: 37.7 kB / 0.8112 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.5481, allocations: 471.4 kB / 0.8117 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5482, allocations: 177.4 kB / 0.8118 GB, free: 392 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.5483, allocations: 49.7 kB / 0.8119 GB, free: 336 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5484, allocations: 331 kB / 0.8122 GB, free: 0 / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.5488, allocations: 253.2 kB / 0.8124 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.5493, allocations: 357.3 kB / 0.8128 GB, free: 15.36 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.003425/0.5527, allocations: 1.574 MB / 0.8143 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5527, allocations: 0 / 0.8143 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001175/0.5539, allocations: 0.7887 MB / 0.8151 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5539, allocations: 8 kB / 0.8151 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5539, allocations: 4 kB / 0.8151 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.5542, allocations: 101.6 kB / 0.8152 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.5548, allocations: 155.8 kB / 0.8154 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.5572, allocations: 3.071 MB / 0.8184 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.558, allocations: 55.81 kB / 0.8184 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.558, allocations: 27.98 kB / 0.8184 GB, free: 9.25 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 sytem: 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.0003328/0.5584, allocations: 293.6 kB / 0.8187 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5585, allocations: 94.88 kB / 0.8188 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5587, allocations: 100.7 kB / 0.8189 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5587, allocations: 7.984 kB / 0.8189 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5587, allocations: 4 kB / 0.8189 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009462/0.5596, allocations: 0.8544 MB / 0.8197 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.5621, allocations: 1.807 MB / 0.8215 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5621, allocations: 4.062 kB / 0.8215 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.5627, allocations: 135.8 kB / 0.8216 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.5629, allocations: 72.81 kB / 0.8217 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.5629, allocations: 8 kB / 0.8217 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.5643, allocations: 1.668 MB / 0.8233 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5643, allocations: 7.938 kB / 0.8234 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5657, allocations: 1.081 MB / 0.8244 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.566, allocations: 239.9 kB / 0.8246 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.5661, allocations: 8 kB / 0.8246 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.5669, allocations: 68.02 kB / 0.8247 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.567, allocations: 51.81 kB / 0.8248 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.567, allocations: 27.98 kB / 0.8248 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005921/0.5676, allocations: 0.5615 MB / 0.8253 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5676, allocations: 0 / 0.8253 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007058/0.5683, allocations: 284 kB / 0.8256 GB, free: 1.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 (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.001903/0.5702, allocations: 1.721 MB / 0.8273 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.5714, allocations: 0.8116 MB / 0.8281 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5714, allocations: 7.844 kB / 0.8281 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.5719, allocations: 415.7 kB / 0.8285 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.5747, allocations: 0.578 MB / 0.8291 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.5838, allocations: 7.728 MB / 0.8366 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.5844, allocations: 1.091 MB / 0.8377 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006838/0.5851, allocations: 215.1 kB / 0.8379 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.5855, allocations: 339.3 kB / 0.8382 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5855, allocations: 8 kB / 0.8382 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.069/2.655, allocations: 26.46 MB / 0.864 GB, free: 206.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/2.655, allocations: 307.8 kB / 0.8643 GB, free: 206.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/4.973, allocations: 3.656 kB / 0.8643 GB, free: 206.6 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)