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.001255/0.001255, allocations: 108 kB / 16.36 MB, free: 5.941 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.001237/0.001237, allocations: 193.2 kB / 17.3 MB, free: 5.562 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.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.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.716/1.716, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001423/0.001423, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1813, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.901/3.082, allocations: 1.349 GB / 2.134 GB, free: 49.61 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.3148/3.397, allocations: 329.5 MB / 2.456 GB, free: 5.215 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0393/3.437, allocations: 1.145 MB / 2.457 GB, free: 4.062 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.03356/3.47, allocations: 12.96 MB / 2.469 GB, free: 7.02 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.08215/3.552, allocations: 32.07 MB / 2.501 GB, free: 6.848 MB / 1.389 GB Notification: Performance of NFTyping.typeClassSections: time 0.04199/3.594, allocations: 18.94 MB / 2.519 GB, free: 4.133 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.06755/3.662, allocations: 56.54 MB / 2.574 GB, free: 11.43 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 1.494/5.156, allocations: 22.48 MB / 2.596 GB, free: 24.98 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05542/5.211, allocations: 24.84 MB / 2.621 GB, free: 24.88 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03574/5.247, allocations: 17.64 MB / 2.638 GB, free: 21.7 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.008324/5.255, allocations: 2.069 MB / 2.64 GB, free: 21.7 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04595/5.301, allocations: 17.84 MB / 2.657 GB, free: 21.69 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01339/5.315, allocations: 4.741 MB / 2.662 GB, free: 20.97 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.0233/5.338, allocations: 10.9 MB / 2.673 GB, free: 18.09 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.06184/5.4, allocations: 41.46 MB / 2.713 GB, free: 14.97 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/5.4, allocations: 1.875 kB / 2.713 GB, free: 14.97 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.164e-06/5.4, allocations: 0 / 2.713 GB, free: 14.97 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0009051/5.401, allocations: 0 / 2.713 GB, free: 14.97 MB / 1.467 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.04991/5.451, allocations: 20.5 MB / 2.733 GB, free: 6.781 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/5.451, allocations: 10.62 kB / 2.733 GB, free: 6.781 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008207/5.459, allocations: 2.189 MB / 2.735 GB, free: 5.742 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03075/5.49, allocations: 17.04 MB / 2.752 GB, free: 3.117 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/5.491, allocations: 0.9457 MB / 2.753 GB, free: 3.09 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003537/5.494, allocations: 1.258 MB / 2.754 GB, free: 3.086 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/5.523, allocations: 14.09 MB / 2.768 GB, free: 0.6914 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/5.524, allocations: 50.66 kB / 2.768 GB, free: 0.6875 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/5.525, allocations: 0.5076 MB / 2.768 GB, free: 0.6875 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/5.525, allocations: 344.7 kB / 2.769 GB, free: 0.6797 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/5.544, allocations: 9.704 MB / 2.778 GB, free: 0.6133 MB / 1.467 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.08496/5.629, allocations: 72.29 MB / 2.849 GB, free: 3.121 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006557/5.636, allocations: 4.557 MB / 2.853 GB, free: 1.938 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/5.639, allocations: 2.443 MB / 2.856 GB, free: 1.426 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08362/5.722, allocations: 51.5 MB / 2.906 GB, free: 248 kB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/5.722, allocations: 118.7 kB / 2.906 GB, free: 172 kB / 1.561 GB Notification: Performance of pre-optimization done (n=412): time 7.063e-06/5.722, allocations: 0 / 2.906 GB, free: 172 kB / 1.561 GB Notification: Performance of matching and sorting (n=412): time 0.01583/5.738, allocations: 6.951 MB / 2.913 GB, free: 11.11 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/5.739, allocations: 0.7899 MB / 2.913 GB, free: 10.16 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02761/5.766, allocations: 16.27 MB / 2.929 GB, free: 14.98 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/5.767, allocations: 146.1 kB / 2.93 GB, free: 14.9 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.007667/5.775, allocations: 8.224 MB / 2.938 GB, free: 11.48 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002224/5.777, allocations: 1.454 MB / 2.939 GB, free: 10.24 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002512/5.78, allocations: 1.425 MB / 2.94 GB, free: 9.348 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/5.78, allocations: 311.6 kB / 2.941 GB, free: 9.043 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/5.783, allocations: 2.022 MB / 2.943 GB, free: 7.793 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/5.789, allocations: 4.966 MB / 2.947 GB, free: 2.691 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/5.797, allocations: 6.684 MB / 2.954 GB, free: 13.34 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.055e-05/5.797, allocations: 20 kB / 2.954 GB, free: 13.32 MB / 1.608 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01525/5.812, allocations: 7.99 MB / 2.962 GB, free: 7.77 MB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/5.813, allocations: 36 kB / 2.962 GB, free: 7.734 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.731e-05/5.813, allocations: 68.05 kB / 2.962 GB, free: 7.668 MB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/5.813, allocations: 112 kB / 2.962 GB, free: 7.559 MB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/5.817, allocations: 1.365 MB / 2.963 GB, free: 6.312 MB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/5.817, allocations: 154.5 kB / 2.964 GB, free: 6.191 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/5.827, allocations: 1.258 MB / 2.965 GB, free: 4.926 MB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008248/5.828, allocations: 371.8 kB / 2.965 GB, free: 4.562 MB / 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.007618/5.836, allocations: 3.405 MB / 2.968 GB, free: 1.25 MB / 1.608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004915/5.841, allocations: 1.624 MB / 2.97 GB, free: 15.61 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/5.855, allocations: 7.547 MB / 2.977 GB, free: 8.301 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/5.855, allocations: 79.94 kB / 2.977 GB, free: 8.223 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/5.855, allocations: 8 kB / 2.977 GB, free: 8.215 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004198/5.859, allocations: 3.848 MB / 2.981 GB, free: 4.07 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/5.905, allocations: 28.5 MB / 3.009 GB, free: 7.445 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-05/5.905, allocations: 32 kB / 3.009 GB, free: 7.414 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/5.908, allocations: 0.7747 MB / 3.01 GB, free: 6.691 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.922e-05/5.908, allocations: 52 kB / 3.01 GB, free: 6.641 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003131/5.908, allocations: 155.9 kB / 3.01 GB, free: 6.488 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.816e-05/5.909, allocations: 63.8 kB / 3.01 GB, free: 6.438 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-05/5.909, allocations: 55.38 kB / 3.01 GB, free: 6.398 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/5.925, allocations: 11.92 MB / 3.022 GB, free: 9.926 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007539/5.933, allocations: 2.831 MB / 3.025 GB, free: 7.055 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003501/5.936, allocations: 155.6 kB / 3.025 GB, free: 6.902 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00738/5.944, allocations: 209.6 kB / 3.025 GB, free: 6.699 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/5.944, allocations: 404.3 kB / 3.025 GB, free: 6.328 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005178/5.945, allocations: 259.8 kB / 3.026 GB, free: 6.074 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02485/5.97, allocations: 11.59 MB / 3.037 GB, free: 10.57 MB / 1.686 GB Notification: Performance of sort global known variables: time 1.092e-06/5.97, allocations: 0 / 3.037 GB, free: 10.57 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.01986/5.989, allocations: 5.289 MB / 3.042 GB, free: 5.273 MB / 1.686 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.01135/6.001, allocations: 4.533 MB / 3.046 GB, free: 1.238 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.009704/6.011, allocations: 5.521 MB / 3.052 GB, free: 12.01 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/6.011, allocations: 8 kB / 3.052 GB, free: 12 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/6.014, allocations: 2.581 MB / 3.054 GB, free: 9.582 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04667/6.061, allocations: 10.04 MB / 3.064 GB, free: 156 kB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04471/6.106, allocations: 27.46 MB / 3.091 GB, free: 4.355 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/6.117, allocations: 7.43 MB / 3.098 GB, free: 12.89 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.01272/6.13, allocations: 3.18 MB / 3.101 GB, free: 9.828 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/6.133, allocations: 1.054 MB / 3.102 GB, free: 8.777 MB / 1.748 GB Notification: Performance of SimCode: time 9.82e-07/6.133, allocations: 0 / 3.102 GB, free: 8.777 MB / 1.748 GB Notification: Performance of Templates: time 0.8585/6.991, allocations: 354.2 MB / 3.448 GB, free: 1.02 GB / 1.873 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)