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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 289.9 MB / 297.4 MB, free: 6.305 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.00111/0.00111, allocations: 168.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 93.14 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.506e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8003, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.034/8.834, allocations: 3.155 GB / 4.129 GB, free: 235.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/8.834, allocations: 108.1 kB / 4.129 GB, free: 235.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 49.12/57.96, allocations: 10.48 GB / 14.61 GB, free: 73.24 MB / 1.604 GB Notification: Performance of FrontEnd: time 2.164e-06/57.96, allocations: 0 / 14.61 GB, free: 73.24 MB / 1.604 GB Notification: Performance of Transformations before backend: time 0.004298/57.96, allocations: 0.5401 MB / 14.61 GB, free: 73.12 MB / 1.604 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.07935/58.04, allocations: 17.61 MB / 14.62 GB, free: 64.95 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/58.04, allocations: 12.62 kB / 14.62 GB, free: 64.94 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02015/58.06, allocations: 2.604 MB / 14.63 GB, free: 63.9 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06717/58.13, allocations: 20.22 MB / 14.65 GB, free: 61.46 MB / 1.604 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001415/58.13, allocations: 394.6 kB / 14.65 GB, free: 61.46 MB / 1.604 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007226/58.14, allocations: 0.7908 MB / 14.65 GB, free: 61.46 MB / 1.604 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03049/58.17, allocations: 8.04 MB / 14.65 GB, free: 61.4 MB / 1.604 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0492/58.22, allocations: 11.44 MB / 14.67 GB, free: 59.21 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007127/58.22, allocations: 38.66 kB / 14.67 GB, free: 59.21 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003941/58.22, allocations: 21.31 kB / 14.67 GB, free: 59.21 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/58.22, allocations: 337.4 kB / 14.67 GB, free: 59.21 MB / 1.604 GB Warning: The model contains alias variables with conflicting start and/or 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.1655/58.39, allocations: 95.78 MB / 14.76 GB, free: 22.32 MB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/58.4, allocations: 4.404 MB / 14.76 GB, free: 21.57 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003841/58.4, allocations: 2.221 MB / 14.77 GB, free: 21.32 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07378/58.47, allocations: 43.89 MB / 14.81 GB, free: 19.35 MB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/58.47, allocations: 128.4 kB / 14.81 GB, free: 19.29 MB / 1.651 GB Notification: Performance of pre-optimization done (n=423): time 8.766e-06/58.47, allocations: 0 / 14.81 GB, free: 19.29 MB / 1.651 GB Notification: Performance of matching and sorting (n=423): time 0.02942/58.5, allocations: 5.295 MB / 14.81 GB, free: 18.49 MB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009013/58.5, allocations: 0.8018 MB / 14.82 GB, free: 17.56 MB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04123/58.55, allocations: 9.159 MB / 14.82 GB, free: 16.88 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.002502/58.55, allocations: 56.33 kB / 14.82 GB, free: 16.85 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.01187/58.56, allocations: 8.677 MB / 14.83 GB, free: 13.62 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.003247/58.56, allocations: 1.421 MB / 14.83 GB, free: 12.68 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007738/58.56, allocations: 0 / 14.83 GB, free: 12.68 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.000443/58.57, allocations: 0.5143 MB / 14.83 GB, free: 12.37 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/58.57, allocations: 1.723 MB / 14.84 GB, free: 12.36 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00707/58.58, allocations: 5.259 MB / 14.84 GB, free: 7.988 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/58.59, allocations: 3.24 MB / 14.84 GB, free: 7.723 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/58.59, allocations: 23.06 kB / 14.84 GB, free: 7.723 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02609/58.61, allocations: 7.018 MB / 14.85 GB, free: 6.645 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/58.61, allocations: 38.59 kB / 14.85 GB, free: 6.641 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/58.61, allocations: 63.19 kB / 14.85 GB, free: 6.641 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/58.61, allocations: 112 kB / 14.85 GB, free: 6.637 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/58.62, allocations: 1.336 MB / 14.85 GB, free: 6.535 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/58.62, allocations: 138.1 kB / 14.85 GB, free: 6.508 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/58.64, allocations: 0.9296 MB / 14.85 GB, free: 6.148 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003019/58.64, allocations: 412.6 kB / 14.85 GB, free: 6.148 MB / 1.651 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.005077/58.64, allocations: 349.8 kB / 14.85 GB, free: 5.898 MB / 1.651 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02079/58.66, allocations: 5.103 MB / 14.86 GB, free: 5.098 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006852/58.67, allocations: 1.239 MB / 14.86 GB, free: 4.438 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/58.7, allocations: 6.706 MB / 14.87 GB, free: 3.973 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002739/58.7, allocations: 83.59 kB / 14.87 GB, free: 3.969 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.939e-05/58.7, allocations: 7.281 kB / 14.87 GB, free: 3.969 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007703/58.7, allocations: 3.794 MB / 14.87 GB, free: 2.188 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07505/58.78, allocations: 25.61 MB / 14.9 GB, free: 14.1 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000165/58.78, allocations: 36.83 kB / 14.9 GB, free: 14.09 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/58.78, allocations: 0.7697 MB / 14.9 GB, free: 14.04 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/58.78, allocations: 60 kB / 14.9 GB, free: 14.04 MB / 1.667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/58.78, allocations: 99.14 kB / 14.9 GB, free: 14.04 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/58.78, allocations: 67.3 kB / 14.9 GB, free: 14.02 MB / 1.667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.904e-05/58.78, allocations: 47.66 kB / 14.9 GB, free: 14.01 MB / 1.667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03509/58.82, allocations: 22.28 MB / 14.92 GB, free: 14.1 MB / 1.682 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/58.83, allocations: 2.387 MB / 14.92 GB, free: 13.25 MB / 1.682 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006132/58.84, allocations: 58.66 kB / 14.92 GB, free: 13.25 MB / 1.682 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01335/58.85, allocations: 410.8 kB / 14.92 GB, free: 13.17 MB / 1.682 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/58.85, allocations: 403.5 kB / 14.92 GB, free: 13.1 MB / 1.682 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001762/58.85, allocations: 255.9 kB / 14.92 GB, free: 13.1 MB / 1.682 GB Notification: Performance of sorting global known variables: time 0.02591/58.88, allocations: 6.965 MB / 14.93 GB, free: 12.74 MB / 1.682 GB Notification: Performance of sort global known variables: time 1.483e-06/58.88, allocations: 0 / 14.93 GB, free: 12.74 MB / 1.682 GB Notification: Performance of remove unused functions: time 0.04545/58.93, allocations: 6.537 MB / 14.94 GB, free: 11.62 MB / 1.682 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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,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,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (485): * Single equations (assignments): 421 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.08134/59.01, allocations: 44.43 MB / 14.98 GB, free: 12.87 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.01388/59.02, allocations: 4.85 MB / 14.98 GB, free: 11.07 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 8.082e-05/59.02, allocations: 16.41 kB / 14.98 GB, free: 11.05 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.006312/59.03, allocations: 2.396 MB / 14.99 GB, free: 9.605 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03864/59.07, allocations: 5.547 MB / 14.99 GB, free: 6.453 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.315/62.38, allocations: 24.35 MB / 15.02 GB, free: 350.1 MB / 1.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02687/62.41, allocations: 7.677 MB / 15.02 GB, free: 349.1 MB / 1.714 GB Notification: Performance of simCode: alias equations: time 0.0196/62.43, allocations: 2.559 MB / 15.03 GB, free: 349 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02061/62.45, allocations: 7.467 MB / 15.03 GB, free: 349 MB / 1.714 GB Notification: Performance of SimCode: time 1.893e-06/62.45, allocations: 0.9375 kB / 15.03 GB, free: 349 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.782/63.23, allocations: 398 MB / 15.42 GB, free: 306.6 MB / 1.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/63.23, allocations: 197.5 kB / 15.42 GB, free: 306.4 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.76/86.99, allocations: 3.312 kB / 15.42 GB, free: 306.4 MB / 1.714 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)