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.00156/0.001559, 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.001904/0.001904, allocations: 190.3 kB / 16.14 MB, free: 6.66 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.86 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3289, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.771/4.099, allocations: 1.36 GB / 2.427 GB, free: 86.76 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.3949/4.494, allocations: 334.4 MB / 2.754 GB, free: 29.17 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06025/4.555, allocations: 1.118 MB / 2.755 GB, free: 28.05 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.0386/4.593, allocations: 10.87 MB / 2.766 GB, free: 17.6 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.09466/4.688, allocations: 29.44 MB / 2.794 GB, free: 8.707 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.05451/4.743, allocations: 18.04 MB / 2.812 GB, free: 8.645 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.09779/4.84, allocations: 75.91 MB / 2.886 GB, free: 14.25 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05079/4.891, allocations: 18.98 MB / 2.905 GB, free: 11.39 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05922/4.951, allocations: 20.94 MB / 2.925 GB, free: 7.461 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03867/4.989, allocations: 17.71 MB / 2.942 GB, free: 6.902 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.009204/4.999, allocations: 0.9055 MB / 2.943 GB, free: 6 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05182/5.05, allocations: 15.84 MB / 2.959 GB, free: 6.871 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01043/5.061, allocations: 3.687 MB / 2.962 GB, free: 3.238 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.02706/5.088, allocations: 9.869 MB / 2.972 GB, free: 9.387 MB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.07754/5.166, allocations: 39.85 MB / 3.011 GB, free: 2.836 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/5.166, allocations: 0 / 3.011 GB, free: 2.836 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.773e-06/5.166, allocations: 0 / 3.011 GB, free: 2.836 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001166/5.167, allocations: 4 kB / 3.011 GB, free: 2.832 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.04864/5.215, allocations: 20.91 MB / 3.031 GB, free: 14 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/5.215, allocations: 8.031 kB / 3.031 GB, free: 14 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009438/5.225, allocations: 2.252 MB / 3.034 GB, free: 11.72 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03438/5.259, allocations: 18.03 MB / 3.051 GB, free: 9.992 MB / 1.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009028/5.26, allocations: 0.9763 MB / 3.052 GB, free: 9.016 MB / 1.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/5.264, allocations: 1.291 MB / 3.053 GB, free: 7.727 MB / 1.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6851/5.949, allocations: 14.48 MB / 3.068 GB, free: 0.9438 GB / 1.842 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005452/5.95, allocations: 45.05 kB / 3.068 GB, free: 0.9438 GB / 1.842 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/5.953, allocations: 0.5311 MB / 3.068 GB, free: 0.9438 GB / 1.842 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00061/5.953, allocations: 348.4 kB / 3.068 GB, free: 0.9438 GB / 1.842 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/5.976, allocations: 10.09 MB / 3.078 GB, free: 0.9407 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.09729/6.073, allocations: 74.73 MB / 3.151 GB, free: 0.8847 GB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006869/6.08, allocations: 4.55 MB / 3.156 GB, free: 0.8821 GB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/6.083, allocations: 2.441 MB / 3.158 GB, free: 0.8808 GB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07123/6.154, allocations: 51.49 MB / 3.208 GB, free: 0.8376 GB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/6.155, allocations: 122.7 kB / 3.208 GB, free: 0.8375 GB / 1.842 GB Notification: Performance of pre-optimization done (n=412): time 6.813e-06/6.155, allocations: 6.344 kB / 3.209 GB, free: 0.8375 GB / 1.842 GB Notification: Performance of matching and sorting (n=412): time 0.0164/6.171, allocations: 6.985 MB / 3.215 GB, free: 0.8341 GB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/6.171, allocations: 0.7856 MB / 3.216 GB, free: 0.8332 GB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02972/6.201, allocations: 16.44 MB / 3.232 GB, free: 0.825 GB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/6.202, allocations: 138.5 kB / 3.232 GB, free: 0.8249 GB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.008394/6.211, allocations: 8.657 MB / 3.241 GB, free: 0.8174 GB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/6.213, allocations: 1.456 MB / 3.242 GB, free: 0.8162 GB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/6.216, allocations: 1.447 MB / 3.244 GB, free: 0.8154 GB / 1.842 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/6.216, allocations: 305.1 kB / 3.244 GB, free: 0.8151 GB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/6.219, allocations: 2.05 MB / 3.246 GB, free: 0.8141 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/6.223, allocations: 5.086 MB / 3.251 GB, free: 0.8094 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/6.231, allocations: 6.888 MB / 3.258 GB, free: 0.8042 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.04e-05/6.231, allocations: 22.31 kB / 3.258 GB, free: 0.8042 GB / 1.842 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01712/6.248, allocations: 8.151 MB / 3.266 GB, free: 0.7964 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/6.248, allocations: 36 kB / 3.266 GB, free: 0.7964 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/6.248, allocations: 76 kB / 3.266 GB, free: 0.7963 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/6.248, allocations: 115.9 kB / 3.266 GB, free: 0.7962 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/6.253, allocations: 1.412 MB / 3.267 GB, free: 0.7949 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001757/6.253, allocations: 159.3 kB / 3.267 GB, free: 0.7947 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01415/6.267, allocations: 1.851 MB / 3.269 GB, free: 0.7929 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/6.269, allocations: 383.6 kB / 3.269 GB, free: 0.7925 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.009126/6.278, allocations: 3.554 MB / 3.273 GB, free: 0.789 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006364/6.284, allocations: 1.651 MB / 3.275 GB, free: 0.7874 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/6.3, allocations: 7.548 MB / 3.282 GB, free: 0.7802 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/6.301, allocations: 83.94 kB / 3.282 GB, free: 0.7801 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-05/6.301, allocations: 15.94 kB / 3.282 GB, free: 0.7801 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003998/6.305, allocations: 3.838 MB / 3.286 GB, free: 0.776 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04881/6.353, allocations: 28.68 MB / 3.314 GB, free: 0.7476 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.438e-05/6.354, allocations: 32 kB / 3.314 GB, free: 0.7476 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/6.356, allocations: 0.7724 MB / 3.315 GB, free: 0.7469 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-05/6.356, allocations: 52 kB / 3.315 GB, free: 0.7468 GB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/6.357, allocations: 155.9 kB / 3.315 GB, free: 0.7467 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.68e-05/6.357, allocations: 67.73 kB / 3.315 GB, free: 0.7466 GB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/6.357, allocations: 51.8 kB / 3.315 GB, free: 0.7465 GB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/6.372, allocations: 11.95 MB / 3.327 GB, free: 0.7343 GB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008562/6.38, allocations: 2.833 MB / 3.329 GB, free: 0.7315 GB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004868/6.385, allocations: 155.6 kB / 3.329 GB, free: 0.7313 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01118/6.396, allocations: 0.607 MB / 3.33 GB, free: 0.7308 GB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/6.397, allocations: 402.6 kB / 3.33 GB, free: 0.7304 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006075/6.398, allocations: 259.8 kB / 3.331 GB, free: 0.7301 GB / 1.842 GB Notification: Performance of sorting global known variables: time 0.02188/6.42, allocations: 11.7 MB / 3.342 GB, free: 0.7188 GB / 1.842 GB Notification: Performance of sort global known variables: time 7.42e-07/6.42, allocations: 4 kB / 3.342 GB, free: 0.7188 GB / 1.842 GB Notification: Performance of remove unused functions: time 0.02024/6.44, allocations: 5.293 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.01147/6.452, allocations: 4.325 MB / 3.351 GB, free: 0.7101 GB / 1.842 GB Notification: Performance of simCode: created initialization part: time 0.009628/6.461, allocations: 5.507 MB / 3.357 GB, free: 0.7047 GB / 1.842 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-05/6.461, allocations: 10.25 kB / 3.357 GB, free: 0.7047 GB / 1.842 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/6.465, allocations: 2.587 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.05355/6.519, allocations: 9.614 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.05318/6.572, allocations: 34.06 MB / 3.402 GB, free: 0.6597 GB / 1.842 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/6.586, allocations: 7.779 MB / 3.41 GB, free: 0.652 GB / 1.842 GB Notification: Performance of simCode: alias equations: time 0.01583/6.602, allocations: 3.22 MB / 3.413 GB, free: 0.6491 GB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003423/6.605, allocations: 1.066 MB / 3.414 GB, free: 0.648 GB / 1.842 GB Notification: Performance of SimCode: time 7.51e-07/6.605, allocations: 7.938 kB / 3.414 GB, free: 0.648 GB / 1.842 GB Notification: Performance of Templates: time 0.4724/7.077, allocations: 342.3 MB / 3.748 GB, free: 323.5 MB / 1.842 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)