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.001189/0.001189, allocations: 110.9 kB / 15.99 MB, free: 5.914 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.001105/0.001105, allocations: 192.3 kB / 16.91 MB, free: 5.758 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.383/1.383, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.786/1.786, allocations: 292.3 MB / 0.5492 GB, free: 17.46 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.001398/0.001398, allocations: 64.47 kB / 0.6716 GB, free: 6.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 114.6 MB / 0.7835 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.843/4.097, allocations: 1.336 GB / 2.12 GB, free: 46.14 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.3622/4.46, allocations: 326.9 MB / 2.439 GB, free: 3.691 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05605/4.516, allocations: 1.036 MB / 2.44 GB, free: 2.648 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.04377/4.56, allocations: 11.3 MB / 2.451 GB, free: 7.289 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.1083/4.668, allocations: 29.82 MB / 2.48 GB, free: 9.383 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.05096/4.719, allocations: 17.45 MB / 2.497 GB, free: 8.172 MB / 1.389 GB Notification: Performance of NFFlatten.flatten: time 0.09009/4.809, allocations: 56.75 MB / 2.553 GB, free: 15.26 MB / 1.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05133/4.86, allocations: 22.14 MB / 2.574 GB, free: 8.941 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179/7.039, allocations: 24.8 MB / 2.598 GB, free: 40.92 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04376/7.083, allocations: 18.16 MB / 2.616 GB, free: 39.78 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.01279/7.096, allocations: 2.067 MB / 2.618 GB, free: 39.78 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05654/7.152, allocations: 17.97 MB / 2.636 GB, free: 39.77 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01428/7.167, allocations: 4.768 MB / 2.64 GB, free: 39.05 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.0343/7.201, allocations: 10.93 MB / 2.651 GB, free: 36.17 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.06383/7.265, allocations: 33.6 MB / 2.684 GB, free: 35.32 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/7.265, allocations: 0 / 2.684 GB, free: 35.32 MB / 1.467 GB Notification: Performance of FrontEnd: time 3.056e-06/7.265, allocations: 2.938 kB / 2.684 GB, free: 35.32 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.001427/7.266, allocations: 0 / 2.684 GB, free: 35.32 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.07003/7.336, allocations: 20.5 MB / 2.704 GB, free: 27.2 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/7.336, allocations: 14.05 kB / 2.704 GB, free: 27.2 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/7.35, allocations: 2.188 MB / 2.706 GB, free: 26.16 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04527/7.396, allocations: 17.4 MB / 2.723 GB, free: 23.53 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001414/7.397, allocations: 0.9513 MB / 2.724 GB, free: 23.5 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006515/7.404, allocations: 1.255 MB / 2.725 GB, free: 23.5 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05172/7.455, allocations: 13.97 MB / 2.739 GB, free: 21.31 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007398/7.456, allocations: 45.56 kB / 2.739 GB, free: 21.31 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004297/7.46, allocations: 0.5099 MB / 2.739 GB, free: 21.31 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/7.461, allocations: 339.3 kB / 2.74 GB, free: 21.3 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/7.484, allocations: 9.696 MB / 2.749 GB, free: 21.23 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.108/7.592, allocations: 70.59 MB / 2.818 GB, free: 12.21 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/7.6, allocations: 4.564 MB / 2.823 GB, free: 11.03 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003625/7.603, allocations: 2.437 MB / 2.825 GB, free: 10.52 MB / 1.498 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08513/7.688, allocations: 51.49 MB / 2.875 GB, free: 13.85 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/7.689, allocations: 125.7 kB / 2.875 GB, free: 13.8 MB / 1.545 GB Notification: Performance of pre-optimization done (n=412): time 2.159e-05/7.689, allocations: 0 / 2.875 GB, free: 13.8 MB / 1.545 GB Notification: Performance of matching and sorting (n=412): time 0.02094/7.71, allocations: 6.939 MB / 2.882 GB, free: 12.23 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004996/7.71, allocations: 0.7969 MB / 2.883 GB, free: 11.31 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05195/7.762, allocations: 16.03 MB / 2.899 GB, free: 1.25 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00218/7.765, allocations: 143.9 kB / 2.899 GB, free: 1.172 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.01601/7.781, allocations: 8.305 MB / 2.907 GB, free: 13.78 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.00371/7.784, allocations: 1.456 MB / 2.908 GB, free: 12.54 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006774/7.791, allocations: 1.389 MB / 2.91 GB, free: 11.66 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.0001318/7.791, allocations: 303.2 kB / 2.91 GB, free: 11.36 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/7.795, allocations: 1.982 MB / 2.912 GB, free: 10.14 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007166/7.802, allocations: 4.775 MB / 2.916 GB, free: 5.285 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/7.812, allocations: 6.437 MB / 2.923 GB, free: 208 kB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/7.813, allocations: 16 kB / 2.923 GB, free: 192 kB / 1.561 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02412/7.837, allocations: 7.772 MB / 2.93 GB, free: 10.77 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/7.837, allocations: 32 kB / 2.93 GB, free: 10.74 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/7.837, allocations: 69.25 kB / 2.93 GB, free: 10.68 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/7.837, allocations: 100 kB / 2.931 GB, free: 10.58 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/7.843, allocations: 1.323 MB / 2.932 GB, free: 9.406 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002542/7.843, allocations: 144.8 kB / 2.932 GB, free: 9.293 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/7.861, allocations: 1.725 MB / 2.934 GB, free: 7.672 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/7.864, allocations: 352.5 kB / 2.934 GB, free: 7.383 MB / 1.576 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.01326/7.877, allocations: 3.386 MB / 2.937 GB, free: 5.793 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007792/7.885, allocations: 1.613 MB / 2.939 GB, free: 4.164 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/7.906, allocations: 7.551 MB / 2.946 GB, free: 13.86 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002894/7.907, allocations: 83.94 kB / 2.946 GB, free: 13.77 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/7.907, allocations: 8 kB / 2.946 GB, free: 13.77 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006119/7.913, allocations: 3.838 MB / 2.95 GB, free: 9.625 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07367/7.987, allocations: 28.4 MB / 2.978 GB, free: 13.11 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001577/7.987, allocations: 32 kB / 2.978 GB, free: 13.07 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/7.99, allocations: 0.773 MB / 2.979 GB, free: 12.35 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/7.99, allocations: 48 kB / 2.979 GB, free: 12.3 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009738/7.991, allocations: 159.9 kB / 2.979 GB, free: 12.15 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.479e-05/7.992, allocations: 72.86 kB / 2.979 GB, free: 12.09 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/7.992, allocations: 52.64 kB / 2.979 GB, free: 12.05 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/8.016, allocations: 11.91 MB / 2.991 GB, free: 15.58 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01069/8.027, allocations: 2.813 MB / 2.993 GB, free: 12.72 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006241/8.033, allocations: 151.7 kB / 2.993 GB, free: 12.57 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01266/8.046, allocations: 0.5479 MB / 2.994 GB, free: 12.03 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/8.047, allocations: 393.5 kB / 2.994 GB, free: 11.67 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001361/8.048, allocations: 259.8 kB / 2.995 GB, free: 11.41 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.03177/8.08, allocations: 11.43 MB / 3.006 GB, free: 76 kB / 1.639 GB Notification: Performance of sort global known variables: time 5.41e-07/8.08, allocations: 1.125 kB / 3.006 GB, free: 76 kB / 1.639 GB Notification: Performance of remove unused functions: time 0.02527/8.106, allocations: 5.239 MB / 3.011 GB, free: 10.84 MB / 1.654 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.01608/8.122, allocations: 4.46 MB / 3.015 GB, free: 6.855 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.0139/8.136, allocations: 5.7 MB / 3.021 GB, free: 1.469 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 4.753e-05/8.136, allocations: 8 kB / 3.021 GB, free: 1.461 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.005448/8.141, allocations: 2.577 MB / 3.023 GB, free: 15.05 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06028/8.201, allocations: 10.1 MB / 3.033 GB, free: 5.719 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07432/8.276, allocations: 32.98 MB / 3.065 GB, free: 4.398 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01978/8.296, allocations: 7.282 MB / 3.073 GB, free: 13.08 MB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005157/8.301, allocations: 1.092 MB / 3.074 GB, free: 11.99 MB / 1.717 GB Notification: Performance of SimCode: time 1.052e-06/8.301, allocations: 0 / 3.074 GB, free: 11.99 MB / 1.717 GB Notification: Performance of Templates: time 1.068/9.369, allocations: 314 MB / 3.38 GB, free: 1.005 GB / 1.858 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)