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.001312/0.001312, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001412/0.001412, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.337/1.337, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.681/1.681, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001651/0.001651, allocations: 68.23 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2458, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.816/3.062, allocations: 1.336 GB / 2.119 GB, free: 9.734 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 1.118/4.181, allocations: 326.8 MB / 2.438 GB, free: 29.62 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04073/4.221, allocations: 1.039 MB / 2.439 GB, free: 29.61 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.03508/4.256, allocations: 11.31 MB / 2.45 GB, free: 29.45 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.09141/4.348, allocations: 29.82 MB / 2.479 GB, free: 27.5 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.04413/4.392, allocations: 17.46 MB / 2.497 GB, free: 21.07 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.0725/4.465, allocations: 56.74 MB / 2.552 GB, free: 52 kB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0434/4.508, allocations: 22.14 MB / 2.574 GB, free: 10.02 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06364/4.572, allocations: 24.82 MB / 2.598 GB, free: 2.652 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03896/4.611, allocations: 18.16 MB / 2.616 GB, free: 1.809 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.01221/4.623, allocations: 2.066 MB / 2.618 GB, free: 15.74 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05002/4.673, allocations: 17.97 MB / 2.635 GB, free: 14.48 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.009562/4.683, allocations: 4.776 MB / 2.64 GB, free: 9.773 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.02795/4.711, allocations: 10.93 MB / 2.65 GB, free: 14.88 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.07958/4.79, allocations: 41.26 MB / 2.691 GB, free: 6.902 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/4.79, allocations: 4 kB / 2.691 GB, free: 6.898 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.713e-06/4.79, allocations: 0 / 2.691 GB, free: 6.898 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001262/4.792, allocations: 0 / 2.691 GB, free: 6.898 MB / 1.498 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.05552/4.847, allocations: 20.5 MB / 2.711 GB, free: 2.449 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/4.847, allocations: 8.031 kB / 2.711 GB, free: 2.441 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009533/4.857, allocations: 2.19 MB / 2.713 GB, free: 232 kB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03738/4.894, allocations: 17.4 MB / 2.73 GB, free: 15.16 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/4.895, allocations: 0.9532 MB / 2.731 GB, free: 14.21 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004396/4.9, allocations: 1.25 MB / 2.732 GB, free: 12.96 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/4.942, allocations: 13.97 MB / 2.746 GB, free: 14.3 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005349/4.943, allocations: 39.59 kB / 2.746 GB, free: 14.26 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002879/4.946, allocations: 0.507 MB / 2.746 GB, free: 13.76 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/4.946, allocations: 339.9 kB / 2.747 GB, free: 13.43 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/4.967, allocations: 9.706 MB / 2.756 GB, free: 3.754 MB / 1.561 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.09788/5.065, allocations: 70.58 MB / 2.825 GB, free: 10.03 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/5.073, allocations: 4.561 MB / 2.829 GB, free: 5.227 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/5.077, allocations: 2.444 MB / 2.832 GB, free: 2.711 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.547/5.624, allocations: 51.48 MB / 2.882 GB, free: 0.9688 GB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/5.624, allocations: 122.5 kB / 2.882 GB, free: 0.9688 GB / 1.67 GB Notification: Performance of pre-optimization done (n=412): time 7.243e-06/5.624, allocations: 0 / 2.882 GB, free: 0.9688 GB / 1.67 GB Notification: Performance of matching and sorting (n=412): time 0.01605/5.64, allocations: 6.944 MB / 2.889 GB, free: 0.9687 GB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/5.64, allocations: 0.7929 MB / 2.89 GB, free: 0.9678 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03877/5.679, allocations: 16.03 MB / 2.905 GB, free: 0.9627 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/5.68, allocations: 145 kB / 2.906 GB, free: 0.9626 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0103/5.691, allocations: 8.31 MB / 2.914 GB, free: 0.9575 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/5.693, allocations: 1.458 MB / 2.915 GB, free: 0.9564 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/5.695, allocations: 1.386 MB / 2.916 GB, free: 0.9558 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.136e-05/5.695, allocations: 305.1 kB / 2.917 GB, free: 0.9555 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/5.698, allocations: 1.983 MB / 2.919 GB, free: 0.9547 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/5.702, allocations: 4.77 MB / 2.923 GB, free: 0.9509 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00661/5.709, allocations: 6.436 MB / 2.93 GB, free: 0.9464 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/5.709, allocations: 15.88 kB / 2.93 GB, free: 0.9464 GB / 1.67 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01496/5.724, allocations: 7.778 MB / 2.937 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/5.724, allocations: 34.62 kB / 2.937 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/5.724, allocations: 66.75 kB / 2.937 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/5.724, allocations: 98.72 kB / 2.937 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/5.728, allocations: 1.324 MB / 2.939 GB, free: 0.9431 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001646/5.729, allocations: 144.8 kB / 2.939 GB, free: 0.943 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/5.741, allocations: 1.72 MB / 2.94 GB, free: 0.9423 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/5.742, allocations: 356.9 kB / 2.941 GB, free: 0.9422 GB / 1.67 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.007124/5.75, allocations: 3.383 MB / 2.944 GB, free: 0.9403 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005217/5.755, allocations: 1.615 MB / 2.946 GB, free: 0.9394 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/5.77, allocations: 7.549 MB / 2.953 GB, free: 0.9366 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002549/5.77, allocations: 86.53 kB / 2.953 GB, free: 0.9365 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-05/5.77, allocations: 7.938 kB / 2.953 GB, free: 0.9365 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004542/5.774, allocations: 3.84 MB / 2.957 GB, free: 0.9339 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/5.826, allocations: 28.4 MB / 2.985 GB, free: 0.9169 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001345/5.826, allocations: 30.03 kB / 2.985 GB, free: 0.9169 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/5.829, allocations: 0.7717 MB / 2.985 GB, free: 0.9167 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-05/5.829, allocations: 61.23 kB / 2.985 GB, free: 0.9167 GB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005641/5.83, allocations: 153 kB / 2.986 GB, free: 0.9166 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/5.83, allocations: 67.56 kB / 2.986 GB, free: 0.9166 GB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-05/5.83, allocations: 50.09 kB / 2.986 GB, free: 0.9166 GB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/5.846, allocations: 11.91 MB / 2.997 GB, free: 0.9087 GB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007824/5.853, allocations: 2.82 MB / 3 GB, free: 0.9065 GB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00421/5.858, allocations: 148.3 kB / 3 GB, free: 0.9064 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009602/5.867, allocations: 0.5423 MB / 3.001 GB, free: 0.9062 GB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006889/5.868, allocations: 405.5 kB / 3.001 GB, free: 0.906 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006808/5.869, allocations: 261.5 kB / 3.001 GB, free: 0.9059 GB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02107/5.89, allocations: 11.43 MB / 3.013 GB, free: 0.8954 GB / 1.67 GB Notification: Performance of sort global known variables: time 4.51e-07/5.89, allocations: 3.5 kB / 3.013 GB, free: 0.8954 GB / 1.67 GB Notification: Performance of remove unused functions: time 0.01757/5.907, allocations: 5.227 MB / 3.018 GB, free: 0.8905 GB / 1.67 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.01056/5.918, allocations: 4.448 MB / 3.022 GB, free: 0.8872 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.009334/5.927, allocations: 5.699 MB / 3.028 GB, free: 0.8816 GB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 3.318e-05/5.927, allocations: 4 kB / 3.028 GB, free: 0.8816 GB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003523/5.931, allocations: 2.587 MB / 3.03 GB, free: 0.8791 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04799/5.979, allocations: 10.11 MB / 3.04 GB, free: 0.8705 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/6.024, allocations: 33.05 MB / 3.072 GB, free: 0.8383 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00912/6.034, allocations: 7.442 MB / 3.08 GB, free: 0.831 GB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.01386/6.047, allocations: 3.14 MB / 3.083 GB, free: 0.8281 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003311/6.051, allocations: 1.046 MB / 3.084 GB, free: 0.8271 GB / 1.67 GB Notification: Performance of SimCode: time 7.81e-07/6.051, allocations: 0 / 3.084 GB, free: 0.8271 GB / 1.67 GB Notification: Performance of Templates: time 0.4198/6.471, allocations: 353.7 MB / 3.429 GB, free: 495.2 MB / 1.67 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)