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.00118/0.00118, allocations: 108 kB / 15.61 MB, free: 148 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.001167/0.001167, allocations: 196.4 kB / 16.53 MB, free: 6.656 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.487/1.487, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.732/1.732, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001524/0.001524, allocations: 68.75 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2734, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.735/3.008, allocations: 1.349 GB / 2.132 GB, free: 4.555 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.175/4.183, allocations: 329.4 MB / 2.454 GB, free: 39.01 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04073/4.224, allocations: 1.14 MB / 2.455 GB, free: 39.01 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.03442/4.258, allocations: 12.96 MB / 2.468 GB, free: 33.8 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.08295/4.341, allocations: 32.08 MB / 2.499 GB, free: 16.36 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.0409/4.382, allocations: 18.77 MB / 2.518 GB, free: 2.918 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.07148/4.454, allocations: 56.46 MB / 2.573 GB, free: 1.715 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04003/4.494, allocations: 22.49 MB / 2.595 GB, free: 11.33 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05614/4.55, allocations: 24.72 MB / 2.619 GB, free: 4.047 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03339/4.583, allocations: 17.61 MB / 2.636 GB, free: 3.613 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.009613/4.593, allocations: 2.07 MB / 2.638 GB, free: 1.543 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0447/4.638, allocations: 17.75 MB / 2.655 GB, free: 0.4922 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.009031/4.647, allocations: 4.743 MB / 2.66 GB, free: 11.8 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.02364/4.67, allocations: 10.91 MB / 2.671 GB, free: 0.9141 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.07024/4.741, allocations: 41.09 MB / 2.711 GB, free: 9.086 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/4.741, allocations: 0 / 2.711 GB, free: 9.086 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.743e-06/4.741, allocations: 0 / 2.711 GB, free: 9.086 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0009301/4.742, allocations: 0 / 2.711 GB, free: 9.086 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.04852/4.79, allocations: 20.51 MB / 2.731 GB, free: 4.625 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/4.79, allocations: 8.031 kB / 2.731 GB, free: 4.617 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009023/4.799, allocations: 2.193 MB / 2.733 GB, free: 2.402 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03382/4.833, allocations: 17.04 MB / 2.75 GB, free: 1.672 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/4.834, allocations: 0.9514 MB / 2.751 GB, free: 0.7188 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003558/4.838, allocations: 1.257 MB / 2.752 GB, free: 15.46 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/4.875, allocations: 14.08 MB / 2.766 GB, free: 0.6094 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003764/4.875, allocations: 47.52 kB / 2.766 GB, free: 0.5625 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002425/4.878, allocations: 0.5211 MB / 2.766 GB, free: 44 kB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/4.878, allocations: 339.9 kB / 2.766 GB, free: 15.71 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/4.899, allocations: 9.706 MB / 2.776 GB, free: 6.043 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.4874/5.386, allocations: 72.89 MB / 2.847 GB, free: 0.8935 GB / 1.607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/5.394, allocations: 4.564 MB / 2.852 GB, free: 0.8928 GB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/5.398, allocations: 2.443 MB / 2.854 GB, free: 0.8919 GB / 1.607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07743/5.475, allocations: 51.49 MB / 2.904 GB, free: 0.8544 GB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/5.475, allocations: 116.7 kB / 2.904 GB, free: 0.8544 GB / 1.607 GB Notification: Performance of pre-optimization done (n=412): time 6.482e-06/5.475, allocations: 0 / 2.904 GB, free: 0.8544 GB / 1.607 GB Notification: Performance of matching and sorting (n=412): time 0.0153/5.491, allocations: 6.966 MB / 2.911 GB, free: 0.8516 GB / 1.607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/5.491, allocations: 0.7855 MB / 2.912 GB, free: 0.8507 GB / 1.607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02734/5.518, allocations: 16.27 MB / 2.928 GB, free: 0.8427 GB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/5.519, allocations: 145.3 kB / 2.928 GB, free: 0.8426 GB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.007796/5.527, allocations: 8.358 MB / 2.936 GB, free: 0.8357 GB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/5.529, allocations: 1.452 MB / 2.937 GB, free: 0.8344 GB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002344/5.531, allocations: 1.426 MB / 2.939 GB, free: 0.8337 GB / 1.607 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/5.531, allocations: 309 kB / 2.939 GB, free: 0.8334 GB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/5.534, allocations: 2.018 MB / 2.941 GB, free: 0.8324 GB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004637/5.539, allocations: 4.974 MB / 2.946 GB, free: 0.8278 GB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007102/5.546, allocations: 6.686 MB / 2.953 GB, free: 0.8228 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.093e-05/5.546, allocations: 21.16 kB / 2.953 GB, free: 0.8228 GB / 1.607 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01783/5.564, allocations: 7.995 MB / 2.96 GB, free: 0.8189 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/5.564, allocations: 35.78 kB / 2.96 GB, free: 0.8189 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/5.564, allocations: 67.91 kB / 2.96 GB, free: 0.8189 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/5.564, allocations: 111.7 kB / 2.961 GB, free: 0.8189 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/5.569, allocations: 1.369 MB / 2.962 GB, free: 0.8186 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001378/5.569, allocations: 153 kB / 2.962 GB, free: 0.8186 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/5.58, allocations: 1.288 MB / 2.963 GB, free: 0.8177 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/5.581, allocations: 376 kB / 2.964 GB, free: 0.8176 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.007325/5.589, allocations: 3.404 MB / 2.967 GB, free: 0.8155 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004907/5.593, allocations: 1.626 MB / 2.969 GB, free: 0.8146 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/5.607, allocations: 7.544 MB / 2.976 GB, free: 0.8107 GB / 1.607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/5.607, allocations: 90.56 kB / 2.976 GB, free: 0.8107 GB / 1.607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/5.607, allocations: 7.156 kB / 2.976 GB, free: 0.8107 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003895/5.611, allocations: 3.851 MB / 2.98 GB, free: 0.8078 GB / 1.607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04016/5.651, allocations: 28.5 MB / 3.008 GB, free: 0.7813 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/5.651, allocations: 32 kB / 3.008 GB, free: 0.7813 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/5.654, allocations: 0.7704 MB / 3.008 GB, free: 0.7806 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-05/5.654, allocations: 52 kB / 3.008 GB, free: 0.7805 GB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/5.654, allocations: 155.9 kB / 3.009 GB, free: 0.7804 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.775e-05/5.654, allocations: 77.69 kB / 3.009 GB, free: 0.7803 GB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.707e-05/5.654, allocations: 47.66 kB / 3.009 GB, free: 0.7802 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/5.668, allocations: 11.91 MB / 3.02 GB, free: 0.7681 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006587/5.675, allocations: 2.833 MB / 3.023 GB, free: 0.7653 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00369/5.678, allocations: 155.6 kB / 3.023 GB, free: 0.7651 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007752/5.686, allocations: 212.2 kB / 3.023 GB, free: 0.7649 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/5.687, allocations: 405.7 kB / 3.024 GB, free: 0.7646 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005026/5.687, allocations: 259.8 kB / 3.024 GB, free: 0.7643 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.01838/5.706, allocations: 11.59 MB / 3.035 GB, free: 0.7531 GB / 1.607 GB Notification: Performance of sort global known variables: time 1.372e-06/5.706, allocations: 3.938 kB / 3.035 GB, free: 0.7531 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.01646/5.722, allocations: 5.29 MB / 3.041 GB, free: 0.7482 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.009696/5.732, allocations: 4.554 MB / 3.045 GB, free: 0.7443 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.009215/5.741, allocations: 5.788 MB / 3.051 GB, free: 0.7386 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 3.409e-05/5.741, allocations: 8 kB / 3.051 GB, free: 0.7386 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.003351/5.744, allocations: 2.585 MB / 3.053 GB, free: 0.7361 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04733/5.792, allocations: 10.09 MB / 3.063 GB, free: 0.7271 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/5.835, allocations: 27.87 MB / 3.09 GB, free: 0.6995 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008661/5.843, allocations: 7.442 MB / 3.098 GB, free: 0.6922 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.01375/5.857, allocations: 3.17 MB / 3.101 GB, free: 0.6893 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/5.86, allocations: 1.058 MB / 3.102 GB, free: 0.6883 GB / 1.607 GB Notification: Performance of SimCode: time 6.51e-07/5.86, allocations: 0 / 3.102 GB, free: 0.6883 GB / 1.607 GB Notification: Performance of Templates: time 0.4471/6.307, allocations: 358.2 MB / 3.451 GB, free: 348.6 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)