Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.756/2.756, allocations: 287.3 MB / 302.3 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 181 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 104.4 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006497, allocations: 16.31 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2248, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.716/4.941, allocations: 1.132 GB / 2.11 GB, free: 52.77 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 2.015/6.955, allocations: 282.8 MB / 2.386 GB, free: 22.1 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06694/7.022, allocations: 0.9372 MB / 2.387 GB, free: 22.1 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.07907/7.102, allocations: 13.42 MB / 2.4 GB, free: 22.08 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.1668/7.268, allocations: 33.33 MB / 2.433 GB, free: 21.71 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.1179/7.386, allocations: 25.09 MB / 2.457 GB, free: 20.71 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.09245/7.479, allocations: 30.56 MB / 2.487 GB, free: 19.84 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05605/7.535, allocations: 14.37 MB / 2.501 GB, free: 30.89 MB / 1.26 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07569/7.611, allocations: 17.43 MB / 2.518 GB, free: 28.52 MB / 1.26 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04528/7.656, allocations: 13.89 MB / 2.532 GB, free: 26.73 MB / 1.26 GB Notification: Performance of NFPackage.collectConstants: time 0.008618/7.665, allocations: 0.625 MB / 2.532 GB, free: 26.73 MB / 1.26 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06405/7.729, allocations: 13.06 MB / 2.545 GB, free: 24.51 MB / 1.26 GB Notification: Performance of NFScalarize.scalarize: time 0.01101/7.74, allocations: 2.902 MB / 2.548 GB, free: 23.91 MB / 1.26 GB Notification: Performance of NFVerifyModel.verify: time 0.01409/7.754, allocations: 4.084 MB / 2.552 GB, free: 22.97 MB / 1.26 GB Notification: Performance of NFConvertDAE.convert: time 0.07373/7.828, allocations: 31.28 MB / 2.582 GB, free: 12.33 MB / 1.276 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/7.828, allocations: 0 / 2.582 GB, free: 12.33 MB / 1.276 GB Notification: Performance of FrontEnd: time 3.216e-06/7.828, allocations: 0 / 2.582 GB, free: 12.33 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001256/7.829, allocations: 0 / 2.582 GB, free: 12.33 MB / 1.276 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.06543/7.895, allocations: 16.66 MB / 2.599 GB, free: 13.39 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/7.895, allocations: 8.031 kB / 2.599 GB, free: 13.38 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007071/7.902, allocations: 1.582 MB / 2.6 GB, free: 12.55 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/7.914, allocations: 2.192 MB / 2.602 GB, free: 10.34 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05618/7.97, allocations: 16.34 MB / 2.618 GB, free: 0.7422 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001757/7.972, allocations: 0.9547 MB / 2.619 GB, free: 188 kB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00584/7.978, allocations: 1.254 MB / 2.62 GB, free: 15.33 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05756/8.036, allocations: 13.77 MB / 2.634 GB, free: 5.633 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009675/8.037, allocations: 40 kB / 2.634 GB, free: 5.617 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004745/8.041, allocations: 0.5121 MB / 2.634 GB, free: 5.492 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000707/8.042, allocations: 338.5 kB / 2.635 GB, free: 5.172 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/8.079, allocations: 9.612 MB / 2.644 GB, free: 15.36 MB / 1.323 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.1581/8.237, allocations: 70.93 MB / 2.713 GB, free: 5.492 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01988/8.257, allocations: 4.543 MB / 2.718 GB, free: 2.234 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1909/8.448, allocations: 51.83 MB / 2.768 GB, free: 8.012 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/8.449, allocations: 130.1 kB / 2.768 GB, free: 7.934 MB / 1.432 GB Notification: Performance of pre-optimization done (n=412): time 1.031e-05/8.449, allocations: 0 / 2.768 GB, free: 7.934 MB / 1.432 GB Notification: Performance of matching and sorting (n=412): time 0.02609/8.475, allocations: 6.912 MB / 2.775 GB, free: 2.879 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005179/8.475, allocations: 0.7936 MB / 2.776 GB, free: 1.922 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06988/8.545, allocations: 16.3 MB / 2.792 GB, free: 6.836 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.001766/8.547, allocations: 144.6 kB / 2.792 GB, free: 6.758 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01589/8.563, allocations: 8.325 MB / 2.8 GB, free: 3.305 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003539/8.567, allocations: 1.449 MB / 2.802 GB, free: 2.066 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/8.568, allocations: 121.3 kB / 2.802 GB, free: 2.043 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.0009428/8.569, allocations: 0.5307 MB / 2.802 GB, free: 1.602 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007522/8.577, allocations: 1.955 MB / 2.804 GB, free: 412 kB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/8.589, allocations: 4.721 MB / 2.809 GB, free: 11.6 MB / 1.464 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009017/8.598, allocations: 2.787 MB / 2.811 GB, free: 10.07 MB / 1.464 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/8.598, allocations: 21.2 kB / 2.811 GB, free: 10.05 MB / 1.464 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02846/8.627, allocations: 7.722 MB / 2.819 GB, free: 4.605 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/8.627, allocations: 40.06 kB / 2.819 GB, free: 4.566 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/8.627, allocations: 64 kB / 2.819 GB, free: 4.504 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/8.627, allocations: 108 kB / 2.819 GB, free: 4.398 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009934/8.637, allocations: 1.324 MB / 2.821 GB, free: 3.121 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003247/8.638, allocations: 139.5 kB / 2.821 GB, free: 2.984 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02214/8.66, allocations: 1.741 MB / 2.822 GB, free: 1.348 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/8.662, allocations: 356.6 kB / 2.823 GB, free: 1.055 MB / 1.464 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01485/8.677, allocations: 3.385 MB / 2.826 GB, free: 15.37 MB / 1.479 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007113/8.684, allocations: 1.615 MB / 2.828 GB, free: 13.73 MB / 1.479 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02597/8.71, allocations: 7.535 MB / 2.835 GB, free: 8.82 MB / 1.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003273/8.711, allocations: 80.5 kB / 2.835 GB, free: 8.75 MB / 1.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/8.711, allocations: 12 kB / 2.835 GB, free: 8.738 MB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009358/8.72, allocations: 3.837 MB / 2.839 GB, free: 5.457 MB / 1.479 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08866/8.809, allocations: 28.59 MB / 2.867 GB, free: 8.492 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001949/8.809, allocations: 32 kB / 2.867 GB, free: 8.461 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00656/8.816, allocations: 0.777 MB / 2.867 GB, free: 7.684 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/8.816, allocations: 56 kB / 2.868 GB, free: 7.629 MB / 1.51 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001383/8.817, allocations: 155.9 kB / 2.868 GB, free: 7.477 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000163/8.817, allocations: 71.78 kB / 2.868 GB, free: 7.406 MB / 1.51 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/8.818, allocations: 52.73 kB / 2.868 GB, free: 7.355 MB / 1.51 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8079/9.625, allocations: 28.19 MB / 2.895 GB, free: 0.8342 GB / 1.526 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01294/9.638, allocations: 3.208 MB / 2.898 GB, free: 0.8338 GB / 1.526 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00705/9.646, allocations: 136.6 kB / 2.899 GB, free: 0.8338 GB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01772/9.663, allocations: 0.5455 MB / 2.899 GB, free: 0.8337 GB / 1.526 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/9.665, allocations: 390.7 kB / 2.9 GB, free: 0.8337 GB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001764/9.667, allocations: 260.6 kB / 2.9 GB, free: 0.8337 GB / 1.526 GB Notification: Performance of sorting global known variables: time 0.04349/9.71, allocations: 11.6 MB / 2.911 GB, free: 0.8314 GB / 1.526 GB Notification: Performance of sort global known variables: time 2.235e-06/9.711, allocations: 1.219 kB / 2.911 GB, free: 0.8314 GB / 1.526 GB Notification: Performance of remove unused functions: time 0.02816/9.739, allocations: 5.299 MB / 2.916 GB, free: 0.8307 GB / 1.526 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05509/9.794, allocations: 29.98 MB / 2.946 GB, free: 0.8097 GB / 1.526 GB Notification: Performance of simCode: created initialization part: time 0.01508/9.809, allocations: 5.316 MB / 2.951 GB, free: 0.8078 GB / 1.526 GB Notification: Performance of simCode: created event and clocks part: time 4.537e-05/9.809, allocations: 14.03 kB / 2.951 GB, free: 0.8078 GB / 1.526 GB Notification: Performance of simCode: created simulation system equations: time 0.006657/9.816, allocations: 2.56 MB / 2.953 GB, free: 0.8069 GB / 1.526 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0955/9.911, allocations: 9.384 MB / 2.962 GB, free: 0.8053 GB / 1.526 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1689/10.08, allocations: 104.1 MB / 3.064 GB, free: 0.717 GB / 1.526 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02399/10.1, allocations: 7.748 MB / 3.072 GB, free: 0.7154 GB / 1.526 GB Notification: Performance of simCode: alias equations: time 0.0343/10.14, allocations: 3.148 MB / 3.075 GB, free: 0.7146 GB / 1.526 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02737/10.17, allocations: 7.817 MB / 3.082 GB, free: 0.7079 GB / 1.526 GB Notification: Performance of SimCode: time 2.124e-06/10.17, allocations: 0 / 3.082 GB, free: 0.7079 GB / 1.526 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/11.27, allocations: 486.1 MB / 3.557 GB, free: 245.3 MB / 1.526 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/11.27, allocations: 252.4 kB / 3.557 GB, free: 244.9 MB / 1.526 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.1/41.38, allocations: 10.61 kB / 3.557 GB, free: 244.9 MB / 1.526 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)