Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.000946/0.0009459, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00556/0.00556, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 13.19 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3316, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.716/4.048, allocations: 1.342 GB / 2.416 GB, free: 53.16 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 0.378/4.426, allocations: 330.9 MB / 2.739 GB, free: 5.309 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06643/4.492, allocations: 1.055 MB / 2.74 GB, free: 4.246 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.03803/4.53, allocations: 10.81 MB / 2.751 GB, free: 9.867 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.1053/4.636, allocations: 29.44 MB / 2.779 GB, free: 0.9805 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.05643/4.692, allocations: 18.11 MB / 2.797 GB, free: 0.8594 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.1053/4.797, allocations: 75.87 MB / 2.871 GB, free: 6.969 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04786/4.845, allocations: 18.39 MB / 2.889 GB, free: 4.715 MB / 1.654 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05883/4.904, allocations: 20.27 MB / 2.909 GB, free: 1.453 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03428/4.939, allocations: 16.91 MB / 2.925 GB, free: 1.68 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.006212/4.945, allocations: 0.6367 MB / 2.926 GB, free: 1.043 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04454/4.989, allocations: 15.58 MB / 2.941 GB, free: 2.172 MB / 1.701 GB Notification: Performance of NFScalarize.scalarize: time 0.00834/4.998, allocations: 3.256 MB / 2.945 GB, free: 14.98 MB / 1.717 GB Notification: Performance of NFVerifyModel.verify: time 0.02238/5.02, allocations: 9.341 MB / 2.954 GB, free: 5.652 MB / 1.717 GB Notification: Performance of NFConvertDAE.convert: time 2.298/7.318, allocations: 38.96 MB / 2.992 GB, free: 111.5 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/7.318, allocations: 0.5938 kB / 2.992 GB, free: 111.5 MB / 1.748 GB Notification: Performance of FrontEnd: time 4.729e-06/7.318, allocations: 0.7812 kB / 2.992 GB, free: 111.5 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001287/7.32, allocations: 0.9375 kB / 2.992 GB, free: 111.5 MB / 1.748 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.04746/7.367, allocations: 16.76 MB / 3.008 GB, free: 105.6 MB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/7.367, allocations: 8.875 kB / 3.008 GB, free: 105.6 MB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/7.378, allocations: 2.252 MB / 3.01 GB, free: 104.5 MB / 1.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04177/7.42, allocations: 18.03 MB / 3.028 GB, free: 101.9 MB / 1.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002028/7.422, allocations: 0.9734 MB / 3.029 GB, free: 101.8 MB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/7.426, allocations: 1.292 MB / 3.03 GB, free: 101.8 MB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04584/7.472, allocations: 14.5 MB / 3.044 GB, free: 99.75 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007324/7.473, allocations: 36.5 kB / 3.044 GB, free: 99.75 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002635/7.476, allocations: 0.5311 MB / 3.045 GB, free: 99.75 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004653/7.476, allocations: 346 kB / 3.045 GB, free: 99.75 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/7.498, allocations: 10.09 MB / 3.055 GB, free: 99.69 MB / 1.748 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.1026/7.6, allocations: 74.75 MB / 3.128 GB, free: 61.12 MB / 1.748 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007189/7.608, allocations: 4.577 MB / 3.132 GB, free: 60.42 MB / 1.748 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/7.611, allocations: 2.426 MB / 3.135 GB, free: 60.2 MB / 1.748 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08269/7.694, allocations: 51.88 MB / 3.185 GB, free: 37.42 MB / 1.764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/7.694, allocations: 118.5 kB / 3.186 GB, free: 37.38 MB / 1.764 GB Notification: Performance of pre-optimization done (n=412): time 2.164e-05/7.694, allocations: 0 / 3.186 GB, free: 37.38 MB / 1.764 GB Notification: Performance of matching and sorting (n=412): time 0.02026/7.715, allocations: 6.987 MB / 3.192 GB, free: 36.41 MB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003881/7.715, allocations: 0.7865 MB / 3.193 GB, free: 35.51 MB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04468/7.76, allocations: 16.45 MB / 3.209 GB, free: 34.49 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.0016/7.762, allocations: 143.1 kB / 3.209 GB, free: 34.46 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.01243/7.774, allocations: 8.647 MB / 3.218 GB, free: 32.63 MB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002892/7.777, allocations: 1.463 MB / 3.219 GB, free: 31.71 MB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/7.779, allocations: 0.5015 MB / 3.22 GB, free: 31.68 MB / 1.764 GB Notification: Performance of setup shared object (initialization): time 0.0001146/7.779, allocations: 302.2 kB / 3.22 GB, free: 31.38 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004819/7.784, allocations: 2.046 MB / 3.222 GB, free: 31.37 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007643/7.791, allocations: 5.093 MB / 3.227 GB, free: 27.98 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/7.801, allocations: 6.886 MB / 3.234 GB, free: 25.13 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001774/7.801, allocations: 21.8 kB / 3.234 GB, free: 25.13 MB / 1.764 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.0262/7.827, allocations: 8.154 MB / 3.242 GB, free: 24.16 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/7.828, allocations: 43.09 kB / 3.242 GB, free: 24.16 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000263/7.828, allocations: 74.88 kB / 3.242 GB, free: 24.16 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/7.828, allocations: 110.5 kB / 3.242 GB, free: 24.16 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/7.834, allocations: 1.407 MB / 3.243 GB, free: 24.16 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002652/7.834, allocations: 156.8 kB / 3.243 GB, free: 24.16 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01953/7.854, allocations: 1.852 MB / 3.245 GB, free: 23.39 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002057/7.856, allocations: 382.6 kB / 3.246 GB, free: 23.39 MB / 1.764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.01244/7.869, allocations: 3.555 MB / 3.249 GB, free: 23.22 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007141/7.876, allocations: 1.652 MB / 3.251 GB, free: 22.34 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/7.895, allocations: 7.548 MB / 3.258 GB, free: 21.89 MB / 1.764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004175/7.895, allocations: 82.34 kB / 3.258 GB, free: 21.89 MB / 1.764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.833e-05/7.895, allocations: 10.52 kB / 3.258 GB, free: 21.89 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006796/7.902, allocations: 3.849 MB / 3.262 GB, free: 20.15 MB / 1.764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07051/7.973, allocations: 28.67 MB / 3.29 GB, free: 13.7 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002096/7.973, allocations: 32 kB / 3.29 GB, free: 13.67 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/7.976, allocations: 0.7778 MB / 3.291 GB, free: 13.07 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/7.976, allocations: 52 kB / 3.291 GB, free: 13.02 MB / 1.764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009418/7.977, allocations: 152.3 kB / 3.291 GB, free: 12.94 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.408e-05/7.977, allocations: 74.27 kB / 3.291 GB, free: 12.89 MB / 1.764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-05/7.978, allocations: 51.8 kB / 3.291 GB, free: 12.86 MB / 1.764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/7.999, allocations: 11.95 MB / 3.303 GB, free: 4.168 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01223/8.012, allocations: 3.099 MB / 3.306 GB, free: 2.078 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006728/8.019, allocations: 128.9 kB / 3.306 GB, free: 2.016 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0136/8.032, allocations: 0.6181 MB / 3.306 GB, free: 1.469 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/8.034, allocations: 401.4 kB / 3.307 GB, free: 1.148 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001178/8.035, allocations: 260.3 kB / 3.307 GB, free: 0.9375 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.0301/8.065, allocations: 11.7 MB / 3.318 GB, free: 9.133 MB / 1.779 GB Notification: Performance of sort global known variables: time 5.61e-07/8.065, allocations: 0 / 3.318 GB, free: 9.133 MB / 1.779 GB Notification: Performance of remove unused functions: time 0.02551/8.091, allocations: 5.288 MB / 3.324 GB, free: 4.293 MB / 1.779 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 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.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.01498/8.106, allocations: 4.605 MB / 3.328 GB, free: 276 kB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.01202/8.118, allocations: 5.502 MB / 3.334 GB, free: 12.67 MB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-05/8.118, allocations: 10.62 kB / 3.334 GB, free: 12.66 MB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004998/8.123, allocations: 2.584 MB / 3.336 GB, free: 11.02 MB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1943/8.317, allocations: 12.4 MB / 3.348 GB, free: 1.879 MB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08507/8.402, allocations: 34.28 MB / 3.382 GB, free: 2.461 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02057/8.423, allocations: 7.808 MB / 3.389 GB, free: 11.13 MB / 1.842 GB Notification: Performance of simCode: alias equations: time 0.02207/8.445, allocations: 3.218 MB / 3.392 GB, free: 8.012 MB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008468/8.453, allocations: 1.583 MB / 3.394 GB, free: 6.465 MB / 1.842 GB Notification: Performance of SimCode: time 2.835e-06/8.453, allocations: 0 / 3.394 GB, free: 6.465 MB / 1.842 GB Notification: Performance of Templates: time 1.517/9.97, allocations: 477.6 MB / 3.86 GB, free: 1.182 GB / 2.17 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)