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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 109.4 kB / 15.69 MB, free: 128 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.001416/0.001416, allocations: 188 kB / 16.62 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.869/1.869, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001448/0.001448, allocations: 74.11 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.785/3.02, allocations: 1.349 GB / 2.133 GB, free: 4.16 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.247/4.267, allocations: 329.4 MB / 2.455 GB, free: 38.98 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04795/4.315, allocations: 1.14 MB / 2.456 GB, free: 38.98 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.03953/4.355, allocations: 12.96 MB / 2.469 GB, free: 33.69 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.08987/4.444, allocations: 32.08 MB / 2.5 GB, free: 16.3 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.04534/4.49, allocations: 18.94 MB / 2.518 GB, free: 2.797 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.07539/4.565, allocations: 56.54 MB / 2.574 GB, free: 1.461 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0466/4.612, allocations: 22.5 MB / 2.596 GB, free: 11.07 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06509/4.677, allocations: 24.83 MB / 2.62 GB, free: 3.672 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03751/4.714, allocations: 17.64 MB / 2.637 GB, free: 3.211 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.01022/4.725, allocations: 2.07 MB / 2.639 GB, free: 1.141 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04997/4.775, allocations: 17.92 MB / 2.657 GB, free: 15.93 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01171/4.787, allocations: 4.741 MB / 2.661 GB, free: 11.24 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.02825/4.815, allocations: 10.91 MB / 2.672 GB, free: 360 kB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.08533/4.9, allocations: 41.45 MB / 2.712 GB, free: 8.164 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/4.9, allocations: 0 / 2.712 GB, free: 8.164 MB / 1.514 GB Notification: Performance of FrontEnd: time 2.424e-06/4.9, allocations: 4 kB / 2.712 GB, free: 8.16 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.001323/4.902, allocations: 0 / 2.712 GB, free: 8.16 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.06384/4.965, allocations: 20.5 MB / 2.732 GB, free: 3.703 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/4.966, allocations: 15.97 kB / 2.732 GB, free: 3.688 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/4.977, allocations: 2.2 MB / 2.735 GB, free: 1.465 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04269/5.02, allocations: 18.19 MB / 2.752 GB, free: 15.58 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/5.021, allocations: 0.9497 MB / 2.753 GB, free: 14.62 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003635/5.024, allocations: 1.258 MB / 2.755 GB, free: 13.37 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/5.059, allocations: 14.09 MB / 2.768 GB, free: 14.5 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/5.06, allocations: 43.53 kB / 2.768 GB, free: 14.46 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/5.062, allocations: 0.5185 MB / 2.769 GB, free: 13.94 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/5.062, allocations: 331.9 kB / 2.769 GB, free: 13.62 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/5.084, allocations: 9.715 MB / 2.779 GB, free: 3.938 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.5319/5.616, allocations: 72.28 MB / 2.849 GB, free: 0.8934 GB / 1.607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/5.623, allocations: 4.574 MB / 2.854 GB, free: 0.8924 GB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/5.627, allocations: 2.444 MB / 2.856 GB, free: 0.8913 GB / 1.607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07562/5.703, allocations: 51.65 MB / 2.907 GB, free: 0.8537 GB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/5.703, allocations: 118.2 kB / 2.907 GB, free: 0.8536 GB / 1.607 GB Notification: Performance of pre-optimization done (n=412): time 6.302e-06/5.703, allocations: 0 / 2.907 GB, free: 0.8536 GB / 1.607 GB Notification: Performance of matching and sorting (n=412): time 0.01693/5.72, allocations: 6.961 MB / 2.913 GB, free: 0.8508 GB / 1.607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/5.72, allocations: 0.7886 MB / 2.914 GB, free: 0.8499 GB / 1.607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02488/5.745, allocations: 16.27 MB / 2.93 GB, free: 0.8419 GB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/5.747, allocations: 145.2 kB / 2.93 GB, free: 0.8418 GB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00683/5.754, allocations: 8.224 MB / 2.938 GB, free: 0.8349 GB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/5.756, allocations: 1.452 MB / 2.94 GB, free: 0.8337 GB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/5.758, allocations: 1.429 MB / 2.941 GB, free: 0.8329 GB / 1.607 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/5.758, allocations: 305.1 kB / 2.941 GB, free: 0.8326 GB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/5.761, allocations: 2.025 MB / 2.943 GB, free: 0.8316 GB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/5.765, allocations: 4.974 MB / 2.948 GB, free: 0.8271 GB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/5.772, allocations: 6.684 MB / 2.955 GB, free: 0.822 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.914e-05/5.772, allocations: 21.16 kB / 2.955 GB, free: 0.822 GB / 1.607 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.015/5.787, allocations: 7.985 MB / 2.963 GB, free: 0.8181 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/5.787, allocations: 41.33 kB / 2.963 GB, free: 0.8181 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.941e-05/5.788, allocations: 71.16 kB / 2.963 GB, free: 0.8181 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/5.788, allocations: 108 kB / 2.963 GB, free: 0.8181 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/5.792, allocations: 1.371 MB / 2.964 GB, free: 0.8178 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/5.792, allocations: 148.9 kB / 2.964 GB, free: 0.8178 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009803/5.802, allocations: 1.254 MB / 2.965 GB, free: 0.8169 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/5.803, allocations: 370.8 kB / 2.966 GB, free: 0.8169 GB / 1.607 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.007256/5.81, allocations: 3.407 MB / 2.969 GB, free: 0.8147 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005317/5.815, allocations: 1.623 MB / 2.971 GB, free: 0.8139 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/5.83, allocations: 7.529 MB / 2.978 GB, free: 0.81 GB / 1.607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001958/5.831, allocations: 84.06 kB / 2.978 GB, free: 0.81 GB / 1.607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-05/5.831, allocations: 6.656 kB / 2.978 GB, free: 0.81 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004365/5.835, allocations: 3.853 MB / 2.982 GB, free: 0.8071 GB / 1.607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04957/5.885, allocations: 28.5 MB / 3.01 GB, free: 0.7802 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001258/5.885, allocations: 32 kB / 3.01 GB, free: 0.7802 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/5.888, allocations: 0.78 MB / 3.011 GB, free: 0.7794 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-05/5.888, allocations: 51.31 kB / 3.011 GB, free: 0.7793 GB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007068/5.889, allocations: 155.8 kB / 3.011 GB, free: 0.7792 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/5.889, allocations: 75.72 kB / 3.011 GB, free: 0.7791 GB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.978e-05/5.889, allocations: 47.81 kB / 3.011 GB, free: 0.7791 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/5.904, allocations: 11.91 MB / 3.023 GB, free: 0.7669 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008088/5.913, allocations: 2.834 MB / 3.025 GB, free: 0.7641 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005385/5.918, allocations: 155.6 kB / 3.025 GB, free: 0.764 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009296/5.927, allocations: 218.1 kB / 3.026 GB, free: 0.7638 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009661/5.928, allocations: 398.6 kB / 3.026 GB, free: 0.7634 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009917/5.929, allocations: 257.2 kB / 3.026 GB, free: 0.7632 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.02299/5.952, allocations: 11.59 MB / 3.038 GB, free: 0.7519 GB / 1.607 GB Notification: Performance of sort global known variables: time 4.51e-07/5.952, allocations: 0 / 3.038 GB, free: 0.7519 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.02128/5.974, allocations: 5.303 MB / 3.043 GB, free: 0.747 GB / 1.607 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.01161/5.985, allocations: 4.537 MB / 3.047 GB, free: 0.743 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.01091/5.996, allocations: 5.521 MB / 3.053 GB, free: 0.7377 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-05/5.996, allocations: 10.62 kB / 3.053 GB, free: 0.7377 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/6.001, allocations: 2.57 MB / 3.055 GB, free: 0.7352 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05184/6.053, allocations: 10.03 MB / 3.065 GB, free: 0.726 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04175/6.094, allocations: 27.45 MB / 3.092 GB, free: 0.6988 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/6.105, allocations: 7.442 MB / 3.099 GB, free: 0.6915 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.01334/6.118, allocations: 3.171 MB / 3.102 GB, free: 0.6886 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/6.121, allocations: 1.05 MB / 3.103 GB, free: 0.6876 GB / 1.607 GB Notification: Performance of SimCode: time 1.132e-06/6.121, allocations: 0 / 3.103 GB, free: 0.6876 GB / 1.607 GB Notification: Performance of Templates: time 0.4604/6.582, allocations: 354.2 MB / 3.449 GB, free: 351.9 MB / 1.607 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (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 & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)