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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001387, allocations: 196.1 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 104.2 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009445/0.0009446, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2339, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.594/3.828, allocations: 1.34 GB / 2.322 GB, free: 68.63 MB / 1.276 GB Notification: Performance of NFInst.instExpressions: time 0.3378/4.165, allocations: 330.2 MB / 2.645 GB, free: 2.57 MB / 1.276 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04698/4.213, allocations: 1.04 MB / 2.646 GB, free: 1.523 MB / 1.276 GB Notification: Performance of NFTyping.typeComponents: time 0.03884/4.251, allocations: 10.61 MB / 2.656 GB, free: 7.344 MB / 1.292 GB Notification: Performance of NFTyping.typeBindings: time 0.09146/4.343, allocations: 29.31 MB / 2.685 GB, free: 12.03 MB / 1.323 GB Notification: Performance of NFTyping.typeClassSections: time 0.04575/4.389, allocations: 17.26 MB / 2.701 GB, free: 10.75 MB / 1.339 GB Notification: Performance of NFFlatten.flatten: time 0.08957/4.478, allocations: 74.65 MB / 2.774 GB, free: 15.93 MB / 1.417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03834/4.517, allocations: 18.2 MB / 2.792 GB, free: 13.57 MB / 1.432 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04965/4.566, allocations: 21.07 MB / 2.813 GB, free: 8.406 MB / 1.448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03413/4.601, allocations: 17.61 MB / 2.83 GB, free: 6.691 MB / 1.464 GB Notification: Performance of NFPackage.collectConstants: time 0.006489/4.607, allocations: 0.8828 MB / 2.831 GB, free: 5.809 MB / 1.464 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04456/4.652, allocations: 15.83 MB / 2.846 GB, free: 5.957 MB / 1.479 GB Notification: Performance of NFScalarize.scalarize: time 0.0109/4.663, allocations: 3.605 MB / 2.85 GB, free: 2.336 MB / 1.479 GB Notification: Performance of NFVerifyModel.verify: time 2.162/6.825, allocations: 9.639 MB / 2.859 GB, free: 63.5 MB / 1.479 GB Notification: Performance of NFConvertDAE.convert: time 0.09213/6.917, allocations: 40.22 MB / 2.898 GB, free: 62.79 MB / 1.479 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/6.917, allocations: 1.719 kB / 2.898 GB, free: 62.79 MB / 1.479 GB Notification: Performance of FrontEnd: time 1.794e-06/6.917, allocations: 0 / 2.898 GB, free: 62.79 MB / 1.479 GB Notification: Performance of Transformations before backend: time 0.001661/6.919, allocations: 0 / 2.898 GB, free: 62.79 MB / 1.479 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.07854/6.997, allocations: 20.5 MB / 2.918 GB, free: 55.44 MB / 1.479 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/6.997, allocations: 9.219 kB / 2.918 GB, free: 55.44 MB / 1.479 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/7.012, allocations: 2.195 MB / 2.921 GB, free: 54.4 MB / 1.479 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0484/7.061, allocations: 17.4 MB / 2.938 GB, free: 51.83 MB / 1.479 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/7.062, allocations: 0.9528 MB / 2.938 GB, free: 51.8 MB / 1.479 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007086/7.069, allocations: 1.26 MB / 2.94 GB, free: 51.8 MB / 1.479 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05501/7.124, allocations: 13.96 MB / 2.953 GB, free: 49.67 MB / 1.479 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001031/7.125, allocations: 37.88 kB / 2.953 GB, free: 49.67 MB / 1.479 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006054/7.132, allocations: 0.5083 MB / 2.954 GB, free: 49.67 MB / 1.479 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005053/7.132, allocations: 340.5 kB / 2.954 GB, free: 49.67 MB / 1.479 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/7.16, allocations: 9.695 MB / 2.964 GB, free: 49.61 MB / 1.479 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.1139/7.274, allocations: 70.59 MB / 3.033 GB, free: 13.2 MB / 1.479 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/7.282, allocations: 4.559 MB / 3.037 GB, free: 12.51 MB / 1.479 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0045/7.286, allocations: 2.436 MB / 3.039 GB, free: 12.28 MB / 1.479 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09044/7.377, allocations: 51.49 MB / 3.09 GB, free: 21.54 MB / 1.526 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/7.377, allocations: 119.8 kB / 3.09 GB, free: 21.49 MB / 1.526 GB Notification: Performance of pre-optimization done (n=412): time 7.093e-06/7.377, allocations: 0 / 3.09 GB, free: 21.49 MB / 1.526 GB Notification: Performance of matching and sorting (n=412): time 0.0196/7.397, allocations: 6.951 MB / 3.097 GB, free: 20.54 MB / 1.526 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004574/7.397, allocations: 0.7963 MB / 3.097 GB, free: 19.63 MB / 1.526 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04359/7.441, allocations: 16.04 MB / 3.113 GB, free: 18.52 MB / 1.526 GB Notification: Performance of collectPreVariables (initialization): time 0.00209/7.443, allocations: 143 kB / 3.113 GB, free: 18.48 MB / 1.526 GB Notification: Performance of collectInitialEqns (initialization): time 0.01198/7.455, allocations: 8.311 MB / 3.121 GB, free: 16.04 MB / 1.526 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/7.458, allocations: 1.454 MB / 3.123 GB, free: 15 MB / 1.526 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00325/7.461, allocations: 1.383 MB / 3.124 GB, free: 14.74 MB / 1.526 GB Notification: Performance of setup shared object (initialization): time 0.0001141/7.461, allocations: 305.1 kB / 3.124 GB, free: 14.44 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/7.464, allocations: 1.988 MB / 3.126 GB, free: 14.18 MB / 1.526 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/7.47, allocations: 4.772 MB / 3.131 GB, free: 10.78 MB / 1.526 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008153/7.478, allocations: 6.431 MB / 3.137 GB, free: 7.969 MB / 1.526 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-05/7.478, allocations: 19.59 kB / 3.137 GB, free: 7.969 MB / 1.526 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02362/7.502, allocations: 7.775 MB / 3.145 GB, free: 6.449 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/7.502, allocations: 33.91 kB / 3.145 GB, free: 6.449 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/7.502, allocations: 65.06 kB / 3.145 GB, free: 6.449 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/7.502, allocations: 97.56 kB / 3.145 GB, free: 6.449 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/7.508, allocations: 1.33 MB / 3.146 GB, free: 6.297 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002165/7.508, allocations: 137.3 kB / 3.146 GB, free: 6.285 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/7.526, allocations: 1.717 MB / 3.148 GB, free: 5.332 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/7.528, allocations: 361.1 kB / 3.149 GB, free: 5.305 MB / 1.526 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.01286/7.541, allocations: 3.383 MB / 3.152 GB, free: 4.961 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007364/7.548, allocations: 1.618 MB / 3.153 GB, free: 4.098 MB / 1.526 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/7.566, allocations: 7.538 MB / 3.161 GB, free: 2.586 MB / 1.526 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002321/7.567, allocations: 82.06 kB / 3.161 GB, free: 2.57 MB / 1.526 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.263e-05/7.567, allocations: 6.281 kB / 3.161 GB, free: 2.57 MB / 1.526 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005072/7.572, allocations: 3.837 MB / 3.165 GB, free: 0.5508 MB / 1.526 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0745/7.646, allocations: 28.41 MB / 3.192 GB, free: 15.7 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002363/7.647, allocations: 32 kB / 3.192 GB, free: 15.67 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/7.651, allocations: 0.776 MB / 3.193 GB, free: 14.97 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/7.651, allocations: 48 kB / 3.193 GB, free: 14.93 MB / 1.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001575/7.653, allocations: 156.1 kB / 3.193 GB, free: 14.84 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001459/7.653, allocations: 79.62 kB / 3.193 GB, free: 14.77 MB / 1.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.231e-05/7.653, allocations: 49.47 kB / 3.193 GB, free: 14.74 MB / 1.557 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1116/7.765, allocations: 39.82 MB / 3.232 GB, free: 9.301 MB / 1.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0115/7.776, allocations: 2.81 MB / 3.235 GB, free: 6.449 MB / 1.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006953/7.783, allocations: 156.3 kB / 3.235 GB, free: 6.297 MB / 1.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01244/7.796, allocations: 0.5487 MB / 3.236 GB, free: 5.754 MB / 1.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/7.797, allocations: 401.2 kB / 3.236 GB, free: 5.391 MB / 1.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/7.799, allocations: 261.1 kB / 3.236 GB, free: 5.137 MB / 1.589 GB Notification: Performance of sorting global known variables: time 0.03191/7.831, allocations: 11.43 MB / 3.248 GB, free: 9.793 MB / 1.604 GB Notification: Performance of sort global known variables: time 4.71e-07/7.831, allocations: 4 kB / 3.248 GB, free: 9.789 MB / 1.604 GB Notification: Performance of remove unused functions: time 0.03693/7.868, allocations: 7.074 MB / 3.254 GB, free: 2.707 MB / 1.604 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.017/7.885, allocations: 4.439 MB / 3.259 GB, free: 14.76 MB / 1.62 GB Notification: Performance of simCode: created initialization part: time 0.01135/7.896, allocations: 5.346 MB / 3.264 GB, free: 9.684 MB / 1.62 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-05/7.896, allocations: 8 kB / 3.264 GB, free: 9.676 MB / 1.62 GB Notification: Performance of simCode: created simulation system equations: time 0.004843/7.901, allocations: 2.588 MB / 3.267 GB, free: 7.254 MB / 1.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06272/7.964, allocations: 9.42 MB / 3.276 GB, free: 14 MB / 1.636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06477/8.029, allocations: 36.01 MB / 3.311 GB, free: 9.641 MB / 1.667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/8.046, allocations: 7.667 MB / 3.318 GB, free: 1.934 MB / 1.667 GB Notification: Performance of simCode: alias equations: time 0.02172/8.067, allocations: 3.167 MB / 3.321 GB, free: 14.89 MB / 1.682 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004921/8.072, allocations: 1.051 MB / 3.323 GB, free: 13.84 MB / 1.682 GB Notification: Performance of SimCode: time 1.162e-06/8.072, allocations: 0 / 3.323 GB, free: 13.84 MB / 1.682 GB Notification: Performance of Templates: time 1.048/9.121, allocations: 352.8 MB / 3.667 GB, free: 1.009 GB / 1.839 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)