Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.001562/0.001562, allocations: 101.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.4 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 70.75 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1886, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.448/2.636, allocations: 1.349 GB / 2.133 GB, free: 4.277 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.136/3.772, allocations: 329.4 MB / 2.454 GB, free: 38.9 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04843/3.821, allocations: 1.142 MB / 2.456 GB, free: 38.9 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.03619/3.857, allocations: 12.96 MB / 2.468 GB, free: 33.76 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.08395/3.941, allocations: 32.08 MB / 2.5 GB, free: 16.34 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.04331/3.984, allocations: 18.94 MB / 2.518 GB, free: 2.832 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.07871/4.063, allocations: 56.53 MB / 2.573 GB, free: 1.496 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04266/4.106, allocations: 22.51 MB / 2.595 GB, free: 11.1 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05927/4.165, allocations: 24.83 MB / 2.619 GB, free: 3.699 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03391/4.199, allocations: 17.65 MB / 2.637 GB, free: 3.234 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.00835/4.207, allocations: 2.07 MB / 2.639 GB, free: 1.164 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0447/4.252, allocations: 17.92 MB / 2.656 GB, free: 15.96 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.008479/4.261, allocations: 4.738 MB / 2.661 GB, free: 11.27 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.02325/4.284, allocations: 10.9 MB / 2.671 GB, free: 396 kB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.07109/4.355, allocations: 41.46 MB / 2.712 GB, free: 8.191 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/4.355, allocations: 0 / 2.712 GB, free: 8.191 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.974e-06/4.355, allocations: 0 / 2.712 GB, free: 8.191 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.001065/4.356, allocations: 0 / 2.712 GB, free: 8.191 MB / 1.514 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04963/4.406, allocations: 20.5 MB / 2.732 GB, free: 3.742 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/4.406, allocations: 12.03 kB / 2.732 GB, free: 3.73 MB / 1.529 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004966/4.411, allocations: 1.573 MB / 2.734 GB, free: 2.145 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00909/4.42, allocations: 2.196 MB / 2.736 GB, free: 15.93 MB / 1.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03784/4.458, allocations: 18.21 MB / 2.753 GB, free: 14.03 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/4.459, allocations: 0.9437 MB / 2.754 GB, free: 13.08 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00382/4.463, allocations: 1.264 MB / 2.756 GB, free: 11.82 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03714/4.5, allocations: 14.09 MB / 2.769 GB, free: 12.96 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005442/4.5, allocations: 51.53 kB / 2.769 GB, free: 12.91 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002916/4.503, allocations: 0.51 MB / 2.77 GB, free: 12.4 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003576/4.504, allocations: 340 kB / 2.77 GB, free: 12.07 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/4.525, allocations: 9.711 MB / 2.78 GB, free: 2.391 MB / 1.576 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.8465/5.371, allocations: 72.28 MB / 2.85 GB, free: 0.8902 GB / 1.608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/5.379, allocations: 4.582 MB / 2.855 GB, free: 0.8887 GB / 1.608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/5.383, allocations: 2.441 MB / 2.857 GB, free: 0.8877 GB / 1.608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07225/5.455, allocations: 51.65 MB / 2.908 GB, free: 0.8495 GB / 1.608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/5.455, allocations: 120.6 kB / 2.908 GB, free: 0.8494 GB / 1.608 GB Notification: Performance of pre-optimization done (n=412): time 1.733e-05/5.456, allocations: 0 / 2.908 GB, free: 0.8494 GB / 1.608 GB Notification: Performance of matching and sorting (n=412): time 0.0157/5.471, allocations: 6.961 MB / 2.915 GB, free: 0.8466 GB / 1.608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/5.471, allocations: 0.7933 MB / 2.915 GB, free: 0.8457 GB / 1.608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03209/5.504, allocations: 16.27 MB / 2.931 GB, free: 0.8376 GB / 1.608 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/5.505, allocations: 145.2 kB / 2.931 GB, free: 0.8375 GB / 1.608 GB Notification: Performance of collectInitialEqns (initialization): time 0.008849/5.514, allocations: 8.223 MB / 2.939 GB, free: 0.8307 GB / 1.608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/5.516, allocations: 1.458 MB / 2.941 GB, free: 0.8295 GB / 1.608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004081/5.52, allocations: 1.427 MB / 2.942 GB, free: 0.8287 GB / 1.608 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/5.52, allocations: 309.1 kB / 2.942 GB, free: 0.8284 GB / 1.608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/5.523, allocations: 2.019 MB / 2.944 GB, free: 0.8274 GB / 1.608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005465/5.529, allocations: 4.971 MB / 2.949 GB, free: 0.8228 GB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/5.536, allocations: 6.68 MB / 2.956 GB, free: 0.8178 GB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.715e-05/5.536, allocations: 20.47 kB / 2.956 GB, free: 0.8178 GB / 1.608 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01651/5.553, allocations: 7.987 MB / 2.964 GB, free: 0.8139 GB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 8.745e-05/5.553, allocations: 35.03 kB / 2.964 GB, free: 0.8139 GB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/5.553, allocations: 67.75 kB / 2.964 GB, free: 0.8139 GB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/5.553, allocations: 109.1 kB / 2.964 GB, free: 0.8139 GB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/5.557, allocations: 1.375 MB / 2.965 GB, free: 0.8136 GB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/5.558, allocations: 149.9 kB / 2.965 GB, free: 0.8136 GB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/5.568, allocations: 1.253 MB / 2.967 GB, free: 0.8127 GB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/5.569, allocations: 369.6 kB / 2.967 GB, free: 0.8127 GB / 1.608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007937/5.577, allocations: 3.409 MB / 2.97 GB, free: 0.8105 GB / 1.608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005032/5.582, allocations: 1.621 MB / 2.972 GB, free: 0.8097 GB / 1.608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/5.596, allocations: 7.543 MB / 2.979 GB, free: 0.8058 GB / 1.608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002036/5.597, allocations: 84.31 kB / 2.979 GB, free: 0.8058 GB / 1.608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.674e-05/5.597, allocations: 9.188 kB / 2.979 GB, free: 0.8058 GB / 1.608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003999/5.601, allocations: 3.849 MB / 2.983 GB, free: 0.8027 GB / 1.608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04388/5.645, allocations: 28.49 MB / 3.011 GB, free: 0.7745 GB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001283/5.645, allocations: 35.84 kB / 3.011 GB, free: 0.7745 GB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/5.647, allocations: 0.7762 MB / 3.012 GB, free: 0.7738 GB / 1.608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/5.647, allocations: 50.59 kB / 3.012 GB, free: 0.7737 GB / 1.608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006037/5.648, allocations: 152 kB / 3.012 GB, free: 0.7736 GB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-05/5.648, allocations: 75.72 kB / 3.012 GB, free: 0.7735 GB / 1.608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/5.648, allocations: 47.81 kB / 3.012 GB, free: 0.7734 GB / 1.608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/5.664, allocations: 11.93 MB / 3.024 GB, free: 0.7613 GB / 1.608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006821/5.67, allocations: 2.821 MB / 3.026 GB, free: 0.7585 GB / 1.608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004327/5.675, allocations: 159.3 kB / 3.026 GB, free: 0.7583 GB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008381/5.683, allocations: 209.9 kB / 3.027 GB, free: 0.7581 GB / 1.608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007783/5.684, allocations: 407.2 kB / 3.027 GB, free: 0.7578 GB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008616/5.685, allocations: 255.9 kB / 3.027 GB, free: 0.7575 GB / 1.608 GB Notification: Performance of sorting global known variables: time 0.02067/5.706, allocations: 11.59 MB / 3.039 GB, free: 0.7463 GB / 1.608 GB Notification: Performance of sort global known variables: time 4.91e-07/5.706, allocations: 0 / 3.039 GB, free: 0.7463 GB / 1.608 GB Notification: Performance of remove unused functions: time 0.01767/5.723, allocations: 5.293 MB / 3.044 GB, free: 0.7414 GB / 1.608 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02711/5.75, allocations: 16.86 MB / 3.06 GB, free: 0.725 GB / 1.608 GB Notification: Performance of simCode: created initialization part: time 0.009153/5.76, allocations: 5.514 MB / 3.066 GB, free: 0.7197 GB / 1.608 GB Notification: Performance of simCode: created event and clocks part: time 4.577e-05/5.76, allocations: 12.41 kB / 3.066 GB, free: 0.7197 GB / 1.608 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/5.764, allocations: 2.588 MB / 3.068 GB, free: 0.7172 GB / 1.608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04669/5.81, allocations: 10.03 MB / 3.078 GB, free: 0.7081 GB / 1.608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1861/5.997, allocations: 114.6 MB / 3.19 GB, free: 0.5924 GB / 1.608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00951/6.006, allocations: 7.438 MB / 3.197 GB, free: 0.5851 GB / 1.608 GB Notification: Performance of simCode: alias equations: time 0.01276/6.019, allocations: 3.175 MB / 3.2 GB, free: 0.5822 GB / 1.608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009927/6.029, allocations: 7.818 MB / 3.208 GB, free: 0.5746 GB / 1.608 GB Notification: Performance of SimCode: time 1.694e-06/6.029, allocations: 0 / 3.208 GB, free: 0.5746 GB / 1.608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5416/6.57, allocations: 0.4893 GB / 3.697 GB, free: 88.96 MB / 1.608 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.84/66.41, allocations: 14.75 kB / 3.697 GB, free: 88.95 MB / 1.608 GB (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)