Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001555/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001919/0.001919, allocations: 193 kB / 16.13 MB, free: 6.656 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.84 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3977, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.702/4.1, allocations: 1.36 GB / 2.427 GB, free: 86.75 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.3919/4.492, allocations: 334.4 MB / 2.754 GB, free: 29.33 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06633/4.558, allocations: 1.122 MB / 2.755 GB, free: 28.26 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04475/4.603, allocations: 10.88 MB / 2.766 GB, free: 17.81 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.09505/4.698, allocations: 29.44 MB / 2.794 GB, free: 8.914 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.05954/4.758, allocations: 18.05 MB / 2.812 GB, free: 8.852 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1027/4.86, allocations: 75.89 MB / 2.886 GB, free: 14.47 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04669/4.907, allocations: 18.99 MB / 2.905 GB, free: 11.59 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06174/4.969, allocations: 20.93 MB / 2.925 GB, free: 7.676 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04282/5.012, allocations: 17.71 MB / 2.942 GB, free: 7.117 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.00967/5.022, allocations: 0.9023 MB / 2.943 GB, free: 6.215 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04875/5.07, allocations: 15.85 MB / 2.959 GB, free: 7.074 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.008777/5.079, allocations: 3.687 MB / 2.962 GB, free: 3.441 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.0276/5.107, allocations: 9.859 MB / 2.972 GB, free: 9.605 MB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.082/5.189, allocations: 39.86 MB / 3.011 GB, free: 3.055 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/5.189, allocations: 4 kB / 3.011 GB, free: 3.051 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.503e-06/5.189, allocations: 0 / 3.011 GB, free: 3.051 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001319/5.19, allocations: 0 / 3.011 GB, free: 3.051 MB / 1.795 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.05726/5.247, allocations: 20.91 MB / 3.031 GB, free: 14.2 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/5.248, allocations: 8.031 kB / 3.031 GB, free: 14.2 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/5.259, allocations: 2.247 MB / 3.034 GB, free: 11.93 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.041/5.3, allocations: 18.04 MB / 3.051 GB, free: 10.19 MB / 1.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/5.301, allocations: 0.9726 MB / 3.052 GB, free: 9.219 MB / 1.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0048/5.306, allocations: 1.292 MB / 3.053 GB, free: 7.93 MB / 1.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6255/5.931, allocations: 14.49 MB / 3.068 GB, free: 0.9433 GB / 1.842 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004848/5.932, allocations: 38.47 kB / 3.068 GB, free: 0.9433 GB / 1.842 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/5.934, allocations: 0.532 MB / 3.068 GB, free: 0.9433 GB / 1.842 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005574/5.935, allocations: 348 kB / 3.068 GB, free: 0.9433 GB / 1.842 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/5.957, allocations: 10.09 MB / 3.078 GB, free: 0.9403 GB / 1.842 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.09346/6.05, allocations: 74.71 MB / 3.151 GB, free: 0.8844 GB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/6.057, allocations: 4.561 MB / 3.156 GB, free: 0.8817 GB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/6.06, allocations: 2.437 MB / 3.158 GB, free: 0.8804 GB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07304/6.133, allocations: 51.5 MB / 3.208 GB, free: 0.8373 GB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/6.133, allocations: 126 kB / 3.209 GB, free: 0.8372 GB / 1.842 GB Notification: Performance of pre-optimization done (n=412): time 7.153e-06/6.133, allocations: 0 / 3.209 GB, free: 0.8372 GB / 1.842 GB Notification: Performance of matching and sorting (n=412): time 0.01833/6.151, allocations: 6.982 MB / 3.215 GB, free: 0.8338 GB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/6.152, allocations: 0.7931 MB / 3.216 GB, free: 0.8329 GB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03299/6.185, allocations: 16.44 MB / 3.232 GB, free: 0.8247 GB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/6.186, allocations: 147.2 kB / 3.232 GB, free: 0.8246 GB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.007686/6.194, allocations: 8.661 MB / 3.241 GB, free: 0.8171 GB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/6.196, allocations: 1.453 MB / 3.242 GB, free: 0.8159 GB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/6.198, allocations: 1.453 MB / 3.244 GB, free: 0.8151 GB / 1.842 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/6.198, allocations: 301.1 kB / 3.244 GB, free: 0.8148 GB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/6.201, allocations: 2.043 MB / 3.246 GB, free: 0.8137 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004789/6.206, allocations: 5.094 MB / 3.251 GB, free: 0.8091 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007016/6.213, allocations: 6.876 MB / 3.258 GB, free: 0.8038 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.958e-05/6.213, allocations: 24.84 kB / 3.258 GB, free: 0.8038 GB / 1.842 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01635/6.229, allocations: 8.146 MB / 3.266 GB, free: 0.7965 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/6.229, allocations: 36 kB / 3.266 GB, free: 0.7964 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.87e-05/6.229, allocations: 78.72 kB / 3.266 GB, free: 0.7964 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.894e-05/6.229, allocations: 112 kB / 3.266 GB, free: 0.7962 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/6.234, allocations: 1.408 MB / 3.267 GB, free: 0.7949 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001449/6.234, allocations: 159.4 kB / 3.267 GB, free: 0.7947 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/6.248, allocations: 1.853 MB / 3.269 GB, free: 0.7929 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/6.249, allocations: 383.9 kB / 3.269 GB, free: 0.7926 GB / 1.842 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.007572/6.257, allocations: 3.551 MB / 3.273 GB, free: 0.7891 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005238/6.262, allocations: 1.659 MB / 3.275 GB, free: 0.7874 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/6.276, allocations: 7.551 MB / 3.282 GB, free: 0.7802 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/6.276, allocations: 83.94 kB / 3.282 GB, free: 0.7801 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/6.276, allocations: 15.75 kB / 3.282 GB, free: 0.7801 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003554/6.28, allocations: 3.838 MB / 3.286 GB, free: 0.776 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04705/6.327, allocations: 28.68 MB / 3.314 GB, free: 0.7477 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-05/6.327, allocations: 28 kB / 3.314 GB, free: 0.7476 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/6.33, allocations: 0.7802 MB / 3.315 GB, free: 0.7469 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/6.33, allocations: 48 kB / 3.315 GB, free: 0.7468 GB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/6.33, allocations: 152 kB / 3.315 GB, free: 0.7467 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.114e-05/6.33, allocations: 71.78 kB / 3.315 GB, free: 0.7466 GB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-05/6.33, allocations: 51.75 kB / 3.315 GB, free: 0.7466 GB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/6.346, allocations: 11.94 MB / 3.327 GB, free: 0.7343 GB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009161/6.355, allocations: 2.833 MB / 3.329 GB, free: 0.7315 GB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005113/6.36, allocations: 159.5 kB / 3.329 GB, free: 0.7314 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01123/6.371, allocations: 0.603 MB / 3.33 GB, free: 0.7308 GB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/6.372, allocations: 398.7 kB / 3.33 GB, free: 0.7304 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006544/6.373, allocations: 263.8 kB / 3.331 GB, free: 0.7301 GB / 1.842 GB Notification: Performance of sorting global known variables: time 0.02098/6.394, allocations: 11.7 MB / 3.342 GB, free: 0.7188 GB / 1.842 GB Notification: Performance of sort global known variables: time 4.81e-07/6.394, allocations: 4 kB / 3.342 GB, free: 0.7188 GB / 1.842 GB Notification: Performance of remove unused functions: time 0.01965/6.414, allocations: 5.291 MB / 3.347 GB, free: 0.7139 GB / 1.842 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.01178/6.425, allocations: 4.333 MB / 3.351 GB, free: 0.7101 GB / 1.842 GB Notification: Performance of simCode: created initialization part: time 0.009582/6.435, allocations: 5.502 MB / 3.357 GB, free: 0.7048 GB / 1.842 GB Notification: Performance of simCode: created event and clocks part: time 3.754e-05/6.435, allocations: 10.25 kB / 3.357 GB, free: 0.7047 GB / 1.842 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/6.439, allocations: 2.584 MB / 3.359 GB, free: 0.7022 GB / 1.842 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05076/6.49, allocations: 9.635 MB / 3.369 GB, free: 0.6933 GB / 1.842 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04591/6.536, allocations: 34.05 MB / 3.402 GB, free: 0.6597 GB / 1.842 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/6.549, allocations: 7.782 MB / 3.41 GB, free: 0.652 GB / 1.842 GB Notification: Performance of simCode: alias equations: time 0.01542/6.564, allocations: 3.216 MB / 3.413 GB, free: 0.6491 GB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003202/6.567, allocations: 1.066 MB / 3.414 GB, free: 0.6481 GB / 1.842 GB Notification: Performance of SimCode: time 8.41e-07/6.567, allocations: 4 kB / 3.414 GB, free: 0.6481 GB / 1.842 GB Notification: Performance of Templates: time 0.443/7.01, allocations: 342.3 MB / 3.748 GB, free: 323.6 MB / 1.842 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)