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.001748/0.001748, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.315/1.315, allocations: 205.1 MB / 222 MB, free: 4.727 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.612/1.612, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001377/0.001377, allocations: 63.34 kB / 0.6708 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1953, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.622/2.817, allocations: 1.34 GB / 2.123 GB, free: 6.609 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 1.254/4.072, allocations: 330.1 MB / 2.445 GB, free: 37.14 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04596/4.118, allocations: 1.038 MB / 2.446 GB, free: 37.14 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.03575/4.153, allocations: 10.62 MB / 2.456 GB, free: 36.98 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.08427/4.238, allocations: 29.32 MB / 2.485 GB, free: 34.01 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.04403/4.282, allocations: 17.26 MB / 2.502 GB, free: 25.45 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.08096/4.363, allocations: 74.36 MB / 2.574 GB, free: 3.348 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03929/4.402, allocations: 18.2 MB / 2.592 GB, free: 1.266 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05208/4.454, allocations: 20.84 MB / 2.613 GB, free: 13.46 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03341/4.488, allocations: 17.61 MB / 2.63 GB, free: 13.17 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.007401/4.495, allocations: 0.8828 MB / 2.631 GB, free: 12.29 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04371/4.539, allocations: 15.83 MB / 2.646 GB, free: 13.18 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.008114/4.547, allocations: 3.6 MB / 2.65 GB, free: 9.645 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.02455/4.571, allocations: 9.65 MB / 2.659 GB, free: 20 kB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.06653/4.638, allocations: 40.23 MB / 2.698 GB, free: 9.07 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/4.638, allocations: 0 / 2.698 GB, free: 9.07 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.923e-06/4.638, allocations: 0 / 2.698 GB, free: 9.07 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001241/4.639, allocations: 0 / 2.698 GB, free: 9.07 MB / 1.498 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.04572/4.685, allocations: 20.49 MB / 2.718 GB, free: 4.633 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/4.685, allocations: 8.031 kB / 2.718 GB, free: 4.625 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008097/4.693, allocations: 2.204 MB / 2.721 GB, free: 2.398 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03259/4.726, allocations: 17.4 MB / 2.737 GB, free: 1.328 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008572/4.727, allocations: 0.9435 MB / 2.738 GB, free: 392 kB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003248/4.73, allocations: 1.259 MB / 2.74 GB, free: 15.12 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/4.759, allocations: 13.97 MB / 2.753 GB, free: 484 kB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/4.76, allocations: 51.61 kB / 2.753 GB, free: 432 kB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/4.761, allocations: 0.5053 MB / 2.754 GB, free: 15.93 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003215/4.762, allocations: 335.9 kB / 2.754 GB, free: 15.61 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/4.781, allocations: 9.713 MB / 2.764 GB, free: 5.926 MB / 1.561 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.0779/4.859, allocations: 70.59 MB / 2.833 GB, free: 12.21 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006946/4.866, allocations: 4.567 MB / 2.837 GB, free: 7.398 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/4.869, allocations: 2.432 MB / 2.839 GB, free: 4.891 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4887/5.358, allocations: 51.48 MB / 2.89 GB, free: 0.9445 GB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/5.358, allocations: 126.1 kB / 2.89 GB, free: 0.9444 GB / 1.654 GB Notification: Performance of pre-optimization done (n=412): time 6.663e-06/5.358, allocations: 0 / 2.89 GB, free: 0.9444 GB / 1.654 GB Notification: Performance of matching and sorting (n=412): time 0.01608/5.374, allocations: 6.948 MB / 2.897 GB, free: 0.9443 GB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/5.374, allocations: 0.7894 MB / 2.897 GB, free: 0.9434 GB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03055/5.405, allocations: 16.03 MB / 2.913 GB, free: 0.938 GB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/5.406, allocations: 141.1 kB / 2.913 GB, free: 0.9379 GB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.006278/5.412, allocations: 8.321 MB / 2.921 GB, free: 0.9328 GB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/5.414, allocations: 1.447 MB / 2.923 GB, free: 0.9317 GB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/5.416, allocations: 1.392 MB / 2.924 GB, free: 0.931 GB / 1.654 GB Notification: Performance of setup shared object (initialization): time 4.092e-05/5.416, allocations: 301.1 kB / 2.924 GB, free: 0.9308 GB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/5.418, allocations: 1.985 MB / 2.926 GB, free: 0.93 GB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/5.423, allocations: 4.774 MB / 2.931 GB, free: 0.9261 GB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/5.429, allocations: 6.429 MB / 2.937 GB, free: 0.9217 GB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/5.429, allocations: 19.84 kB / 2.937 GB, free: 0.9217 GB / 1.654 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01268/5.442, allocations: 7.779 MB / 2.945 GB, free: 0.9185 GB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/5.442, allocations: 33.84 kB / 2.945 GB, free: 0.9185 GB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-05/5.442, allocations: 67.19 kB / 2.945 GB, free: 0.9185 GB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.783e-05/5.442, allocations: 96.06 kB / 2.945 GB, free: 0.9185 GB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/5.446, allocations: 1.33 MB / 2.946 GB, free: 0.9183 GB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.862e-05/5.446, allocations: 136.3 kB / 2.946 GB, free: 0.9183 GB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/5.456, allocations: 1.722 MB / 2.948 GB, free: 0.9175 GB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/5.457, allocations: 355.1 kB / 2.948 GB, free: 0.9175 GB / 1.654 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.005663/5.462, allocations: 3.39 MB / 2.952 GB, free: 0.9155 GB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/5.466, allocations: 1.615 MB / 2.953 GB, free: 0.9147 GB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/5.476, allocations: 7.538 MB / 2.961 GB, free: 0.9118 GB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/5.476, allocations: 92.52 kB / 2.961 GB, free: 0.9118 GB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/5.477, allocations: 7.938 kB / 2.961 GB, free: 0.9118 GB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003263/5.48, allocations: 3.832 MB / 2.965 GB, free: 0.9092 GB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/5.52, allocations: 28.4 MB / 2.992 GB, free: 0.8908 GB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.877e-05/5.52, allocations: 28.19 kB / 2.992 GB, free: 0.8908 GB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004169/5.524, allocations: 0.7795 MB / 2.993 GB, free: 0.8906 GB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-05/5.524, allocations: 50.38 kB / 2.993 GB, free: 0.8906 GB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003674/5.525, allocations: 156.9 kB / 2.993 GB, free: 0.8905 GB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/5.525, allocations: 63.92 kB / 2.993 GB, free: 0.8905 GB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.525e-05/5.525, allocations: 51.91 kB / 2.993 GB, free: 0.8905 GB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/5.546, allocations: 11.92 MB / 3.005 GB, free: 0.8819 GB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009219/5.555, allocations: 2.816 MB / 3.008 GB, free: 0.8791 GB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005001/5.56, allocations: 155.6 kB / 3.008 GB, free: 0.879 GB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01235/5.572, allocations: 0.5434 MB / 3.008 GB, free: 0.8785 GB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/5.573, allocations: 399.3 kB / 3.009 GB, free: 0.8781 GB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005175/5.574, allocations: 259.8 kB / 3.009 GB, free: 0.8779 GB / 1.654 GB Notification: Performance of sorting global known variables: time 0.01732/5.591, allocations: 11.43 MB / 3.02 GB, free: 0.8668 GB / 1.654 GB Notification: Performance of sort global known variables: time 7.72e-07/5.591, allocations: 0 / 3.02 GB, free: 0.8668 GB / 1.654 GB Notification: Performance of remove unused functions: time 0.01638/5.607, allocations: 5.233 MB / 3.025 GB, free: 0.8619 GB / 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.009669/5.617, allocations: 4.445 MB / 3.03 GB, free: 0.8586 GB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.008223/5.625, allocations: 5.352 MB / 3.035 GB, free: 0.8534 GB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 2.643e-05/5.625, allocations: 8 kB / 3.035 GB, free: 0.8534 GB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/5.629, allocations: 2.577 MB / 3.037 GB, free: 0.8509 GB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04743/5.676, allocations: 9.434 MB / 3.047 GB, free: 0.8426 GB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/5.721, allocations: 33.04 MB / 3.079 GB, free: 0.8101 GB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007874/5.729, allocations: 7.442 MB / 3.086 GB, free: 0.8028 GB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.01416/5.743, allocations: 3.136 MB / 3.089 GB, free: 0.8 GB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/5.746, allocations: 1.042 MB / 3.09 GB, free: 0.799 GB / 1.654 GB Notification: Performance of SimCode: time 1.082e-06/5.746, allocations: 4 kB / 3.09 GB, free: 0.799 GB / 1.654 GB Notification: Performance of Templates: time 0.4427/6.189, allocations: 343.2 MB / 3.425 GB, free: 476.9 MB / 1.654 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)