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.001203/0.001203, allocations: 98.19 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.006631/0.006631, allocations: 168.7 kB / 16.26 MB, free: 6.66 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.461/1.461, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.751/1.751, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005854/0.0005855, allocations: 18.53 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2847, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.133/3.417, allocations: 1.322 GB / 2.11 GB, free: 8.555 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 1.301/4.718, allocations: 326.6 MB / 2.429 GB, free: 31.55 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05733/4.775, allocations: 0.9774 MB / 2.43 GB, free: 31.55 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.04106/4.816, allocations: 10.54 MB / 2.441 GB, free: 25.21 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.1101/4.927, allocations: 29.3 MB / 2.469 GB, free: 6.297 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.05031/4.977, allocations: 17.34 MB / 2.486 GB, free: 10.45 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.09608/5.073, allocations: 74.33 MB / 2.559 GB, free: 4.656 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04382/5.117, allocations: 17.63 MB / 2.576 GB, free: 3.281 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05991/5.177, allocations: 20.2 MB / 2.596 GB, free: 104 kB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03785/5.215, allocations: 16.85 MB / 2.612 GB, free: 440 kB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.007915/5.223, allocations: 0.6211 MB / 2.613 GB, free: 15.8 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05197/5.275, allocations: 15.57 MB / 2.628 GB, free: 0.957 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.008703/5.283, allocations: 3.188 MB / 2.631 GB, free: 13.82 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.02897/5.312, allocations: 9.14 MB / 2.64 GB, free: 4.691 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.08131/5.394, allocations: 39.36 MB / 2.678 GB, free: 14.61 MB / 1.451 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/5.394, allocations: 4 kB / 2.678 GB, free: 14.61 MB / 1.451 GB Notification: Performance of FrontEnd: time 4.749e-06/5.394, allocations: 0 / 2.678 GB, free: 14.61 MB / 1.451 GB Notification: Performance of Transformations before backend: time 0.00131/5.395, allocations: 3.938 kB / 2.678 GB, free: 14.61 MB / 1.451 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.04606/5.441, allocations: 16.49 MB / 2.694 GB, free: 14.17 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/5.441, allocations: 8.031 kB / 2.694 GB, free: 14.16 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008653/5.45, allocations: 2.197 MB / 2.697 GB, free: 11.95 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5406/5.991, allocations: 17.41 MB / 2.714 GB, free: 0.795 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001998/5.993, allocations: 0.9473 MB / 2.715 GB, free: 0.7949 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004651/5.997, allocations: 1.259 MB / 2.716 GB, free: 0.7945 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04489/6.042, allocations: 13.97 MB / 2.729 GB, free: 0.7877 GB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001044/6.043, allocations: 38.27 kB / 2.729 GB, free: 0.7877 GB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004016/6.047, allocations: 0.5135 MB / 2.73 GB, free: 0.7873 GB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/6.048, allocations: 339.6 kB / 2.73 GB, free: 0.7873 GB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/6.077, allocations: 9.701 MB / 2.74 GB, free: 0.7836 GB / 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.1048/6.182, allocations: 70.63 MB / 2.809 GB, free: 0.7278 GB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/6.189, allocations: 4.566 MB / 2.813 GB, free: 0.7252 GB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/6.193, allocations: 2.451 MB / 2.816 GB, free: 0.7239 GB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07915/6.272, allocations: 51.86 MB / 2.866 GB, free: 0.6807 GB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/6.272, allocations: 128.2 kB / 2.866 GB, free: 0.6806 GB / 1.467 GB Notification: Performance of pre-optimization done (n=412): time 1.749e-05/6.272, allocations: 0 / 2.866 GB, free: 0.6806 GB / 1.467 GB Notification: Performance of matching and sorting (n=412): time 0.01667/6.289, allocations: 6.952 MB / 2.873 GB, free: 0.6764 GB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/6.289, allocations: 0.7859 MB / 2.874 GB, free: 0.6755 GB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03791/6.327, allocations: 16.02 MB / 2.89 GB, free: 0.66 GB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001454/6.328, allocations: 149.2 kB / 2.89 GB, free: 0.6598 GB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.01036/6.339, allocations: 8.31 MB / 2.898 GB, free: 0.6517 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.002475/6.341, allocations: 1.451 MB / 2.899 GB, free: 0.6503 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/6.343, allocations: 487.1 kB / 2.9 GB, free: 0.6498 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/6.343, allocations: 301.1 kB / 2.9 GB, free: 0.6495 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/6.347, allocations: 1.98 MB / 2.902 GB, free: 0.6476 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/6.353, allocations: 4.777 MB / 2.907 GB, free: 0.6419 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007996/6.361, allocations: 6.436 MB / 2.913 GB, free: 0.6348 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/6.362, allocations: 16 kB / 2.913 GB, free: 0.6348 GB / 1.467 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01956/6.381, allocations: 7.791 MB / 2.92 GB, free: 0.6272 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/6.381, allocations: 32 kB / 2.92 GB, free: 0.6272 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/6.382, allocations: 64 kB / 2.921 GB, free: 0.6271 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/6.382, allocations: 100 kB / 2.921 GB, free: 0.627 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004824/6.387, allocations: 1.318 MB / 2.922 GB, free: 0.6257 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/6.387, allocations: 143.5 kB / 2.922 GB, free: 0.6256 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/6.403, allocations: 1.725 MB / 2.924 GB, free: 0.6239 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/6.405, allocations: 355.9 kB / 2.924 GB, free: 0.6235 GB / 1.467 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.01174/6.417, allocations: 3.386 MB / 2.927 GB, free: 0.6202 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006266/6.424, allocations: 1.62 MB / 2.929 GB, free: 0.6186 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/6.44, allocations: 7.548 MB / 2.936 GB, free: 0.6114 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002556/6.441, allocations: 79.94 kB / 2.936 GB, free: 0.6114 GB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-05/6.441, allocations: 8 kB / 2.936 GB, free: 0.6114 GB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004414/6.445, allocations: 3.852 MB / 2.94 GB, free: 0.6073 GB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05524/6.5, allocations: 28.39 MB / 2.968 GB, free: 0.5792 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001435/6.501, allocations: 32.03 kB / 2.968 GB, free: 0.5791 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/6.504, allocations: 0.7723 MB / 2.969 GB, free: 0.5784 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/6.504, allocations: 48 kB / 2.969 GB, free: 0.5783 GB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000753/6.505, allocations: 155.9 kB / 2.969 GB, free: 0.5782 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.735e-05/6.505, allocations: 75.72 kB / 2.969 GB, free: 0.5781 GB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/6.505, allocations: 47.81 kB / 2.969 GB, free: 0.5781 GB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/6.525, allocations: 11.92 MB / 2.981 GB, free: 0.5659 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01015/6.535, allocations: 3.094 MB / 2.984 GB, free: 0.5628 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005847/6.541, allocations: 128 kB / 2.984 GB, free: 0.5627 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/6.553, allocations: 0.5482 MB / 2.984 GB, free: 0.5621 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/6.554, allocations: 410.4 kB / 2.985 GB, free: 0.5618 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/6.555, allocations: 255.9 kB / 2.985 GB, free: 0.5615 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.02603/6.581, allocations: 11.43 MB / 2.996 GB, free: 0.5504 GB / 1.467 GB Notification: Performance of sort global known variables: time 4.51e-07/6.581, allocations: 0 / 2.996 GB, free: 0.5504 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.01963/6.601, allocations: 5.223 MB / 3.001 GB, free: 0.5456 GB / 1.467 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.01189/6.613, allocations: 4.705 MB / 3.006 GB, free: 0.5414 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.009961/6.623, allocations: 5.342 MB / 3.011 GB, free: 0.5362 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 4.3e-05/6.623, allocations: 8 kB / 3.011 GB, free: 0.5362 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/6.627, allocations: 2.587 MB / 3.014 GB, free: 0.5336 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1611/6.788, allocations: 10.89 MB / 3.024 GB, free: 0.5236 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05265/6.841, allocations: 33.3 MB / 3.057 GB, free: 0.4907 GB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/6.852, allocations: 7.454 MB / 3.064 GB, free: 494.9 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.01582/6.868, allocations: 3.142 MB / 3.067 GB, free: 492 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005254/6.873, allocations: 1.3 MB / 3.068 GB, free: 490.7 MB / 1.467 GB Notification: Performance of SimCode: time 8.62e-07/6.873, allocations: 0 / 3.068 GB, free: 490.7 MB / 1.467 GB Notification: Performance of Templates: time 0.5433/7.416, allocations: 412.6 MB / 3.471 GB, free: 80.26 MB / 1.467 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: