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.834/2.834, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.002056/0.002056, allocations: 178 kB / 371 MB, free: 10.86 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.087/2.087, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001035/0.001035, allocations: 98.38 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 15.28 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.422/4.675, allocations: 1.248 GB / 2.227 GB, free: 5.199 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 1.81/6.485, allocations: 308.6 MB / 2.528 GB, free: 49.91 MB / 1.229 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05166/6.537, allocations: 0.9783 MB / 2.529 GB, free: 49.91 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.0521/6.589, allocations: 8.616 MB / 2.537 GB, free: 49.84 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.1221/6.711, allocations: 24.79 MB / 2.562 GB, free: 40.74 MB / 1.229 GB Notification: Performance of NFTyping.typeClassSections: time 0.06093/6.772, allocations: 12.46 MB / 2.574 GB, free: 37.26 MB / 1.229 GB Notification: Performance of NFFlatten.flatten: time 0.1329/6.905, allocations: 63.21 MB / 2.636 GB, free: 3.141 MB / 1.229 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04667/6.952, allocations: 14.21 MB / 2.649 GB, free: 5.078 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07001/7.022, allocations: 18.87 MB / 2.668 GB, free: 3.031 MB / 1.26 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05193/7.074, allocations: 18.31 MB / 2.686 GB, free: 1.867 MB / 1.276 GB Notification: Performance of NFPackage.collectConstants: time 0.008014/7.082, allocations: 0.6288 MB / 2.686 GB, free: 1.238 MB / 1.276 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06003/7.142, allocations: 12.13 MB / 2.698 GB, free: 5.344 MB / 1.292 GB Notification: Performance of NFScalarize.scalarize: time 0.009948/7.152, allocations: 2.973 MB / 2.701 GB, free: 2.422 MB / 1.292 GB Notification: Performance of NFVerifyModel.verify: time 0.01921/7.172, allocations: 4.464 MB / 2.705 GB, free: 0 / 1.292 GB Notification: Performance of NFConvertDAE.convert: time 0.06758/7.239, allocations: 31.54 MB / 2.736 GB, free: 1.605 MB / 1.323 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/7.239, allocations: 4 kB / 2.736 GB, free: 1.602 MB / 1.323 GB Notification: Performance of FrontEnd: time 4.077e-06/7.239, allocations: 0 / 2.736 GB, free: 1.602 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.001141/7.24, allocations: 0 / 2.736 GB, free: 1.602 MB / 1.323 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.05503/7.295, allocations: 16.67 MB / 2.753 GB, free: 1.133 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/7.296, allocations: 8.031 kB / 2.753 GB, free: 1.125 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005974/7.301, allocations: 1.583 MB / 2.754 GB, free: 15.54 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/7.312, allocations: 2.187 MB / 2.756 GB, free: 13.34 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05084/7.363, allocations: 16.86 MB / 2.773 GB, free: 12.86 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001725/7.365, allocations: 0.957 MB / 2.774 GB, free: 11.9 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004962/7.37, allocations: 1.254 MB / 2.775 GB, free: 10.65 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/7.42, allocations: 13.87 MB / 2.788 GB, free: 12.09 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006248/7.421, allocations: 39.59 kB / 2.788 GB, free: 12.05 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003353/7.424, allocations: 0.5109 MB / 2.789 GB, free: 11.54 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005421/7.425, allocations: 339.9 kB / 2.789 GB, free: 11.21 MB / 1.385 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03239/7.457, allocations: 9.608 MB / 2.799 GB, free: 1.633 MB / 1.385 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 1.617/9.074, allocations: 70.58 MB / 2.868 GB, free: 146.5 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/9.087, allocations: 4.535 MB / 2.872 GB, free: 145.8 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007377/9.095, allocations: 2.426 MB / 2.874 GB, free: 145.6 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/9.241, allocations: 51.86 MB / 2.925 GB, free: 107.1 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/9.242, allocations: 127.4 kB / 2.925 GB, free: 107 MB / 1.432 GB Notification: Performance of pre-optimization done (n=412): time 9.478e-06/9.242, allocations: 0 / 2.925 GB, free: 107 MB / 1.432 GB Notification: Performance of matching and sorting (n=412): time 0.02426/9.266, allocations: 6.919 MB / 2.932 GB, free: 106.6 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002623/9.266, allocations: 0.7876 MB / 2.933 GB, free: 105.7 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05016/9.316, allocations: 15.88 MB / 2.948 GB, free: 104.8 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.001477/9.318, allocations: 144.3 kB / 2.948 GB, free: 104.8 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01423/9.332, allocations: 8.312 MB / 2.956 GB, free: 103.4 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.002885/9.335, allocations: 1.451 MB / 2.958 GB, free: 102.4 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009474/9.336, allocations: 124.1 kB / 2.958 GB, free: 102.4 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0004811/9.337, allocations: 0.5307 MB / 2.958 GB, free: 102.1 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/9.343, allocations: 1.957 MB / 2.96 GB, free: 102.1 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/9.353, allocations: 4.75 MB / 2.965 GB, free: 99.11 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/9.362, allocations: 2.79 MB / 2.968 GB, free: 99.01 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/9.362, allocations: 18.81 kB / 2.968 GB, free: 99.01 MB / 1.432 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02584/9.388, allocations: 7.723 MB / 2.975 GB, free: 98.07 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/9.388, allocations: 37.22 kB / 2.975 GB, free: 98.07 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/9.388, allocations: 64.56 kB / 2.975 GB, free: 98.07 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/9.388, allocations: 110.6 kB / 2.976 GB, free: 98.07 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008984/9.397, allocations: 1.323 MB / 2.977 GB, free: 98.07 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002444/9.397, allocations: 140.7 kB / 2.977 GB, free: 98.07 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02089/9.418, allocations: 1.717 MB / 2.979 GB, free: 97.34 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/9.42, allocations: 360 kB / 2.979 GB, free: 97.33 MB / 1.432 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.01319/9.434, allocations: 3.386 MB / 2.982 GB, free: 97.17 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00553/9.439, allocations: 1.618 MB / 2.984 GB, free: 96.31 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/9.462, allocations: 7.528 MB / 2.991 GB, free: 95.86 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002383/9.462, allocations: 82.08 kB / 2.991 GB, free: 95.86 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-05/9.462, allocations: 13.11 kB / 2.991 GB, free: 95.86 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006914/9.469, allocations: 3.832 MB / 2.995 GB, free: 94.11 MB / 1.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07194/9.541, allocations: 28.37 MB / 3.023 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000138/9.542, allocations: 30.78 kB / 3.023 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005732/9.547, allocations: 0.7748 MB / 3.024 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-05/9.547, allocations: 57.72 kB / 3.024 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007836/9.548, allocations: 157.5 kB / 3.024 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.606e-05/9.548, allocations: 69.83 kB / 3.024 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.167e-05/9.548, allocations: 48.88 kB / 3.024 GB, free: 89.98 MB / 1.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02746/9.576, allocations: 11.86 MB / 3.035 GB, free: 85.68 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01119/9.587, allocations: 3.096 MB / 3.038 GB, free: 84.57 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006117/9.593, allocations: 126.7 kB / 3.039 GB, free: 84.57 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01583/9.609, allocations: 0.5523 MB / 3.039 GB, free: 84.48 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/9.61, allocations: 404.6 kB / 3.04 GB, free: 84.45 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001005/9.611, allocations: 260.1 kB / 3.04 GB, free: 84.45 MB / 1.432 GB Notification: Performance of sorting global known variables: time 0.03361/9.645, allocations: 11.27 MB / 3.051 GB, free: 83.94 MB / 1.432 GB Notification: Performance of sort global known variables: time 7.62e-07/9.645, allocations: 0 / 3.051 GB, free: 83.94 MB / 1.432 GB Notification: Performance of remove unused functions: time 0.02479/9.67, allocations: 5.189 MB / 3.056 GB, free: 83.54 MB / 1.432 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.04258/9.713, allocations: 16.81 MB / 3.072 GB, free: 73.86 MB / 1.432 GB Notification: Performance of simCode: created initialization part: time 0.01425/9.727, allocations: 5.315 MB / 3.077 GB, free: 70.95 MB / 1.432 GB Notification: Performance of simCode: created event and clocks part: time 5.021e-05/9.727, allocations: 8.75 kB / 3.077 GB, free: 70.94 MB / 1.432 GB Notification: Performance of simCode: created simulation system equations: time 0.006433/9.733, allocations: 2.562 MB / 3.08 GB, free: 69.58 MB / 1.432 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08244/9.816, allocations: 9.474 MB / 3.089 GB, free: 64.06 MB / 1.432 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6652/10.48, allocations: 198.1 MB / 3.283 GB, free: 2.992 MB / 1.557 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/10.5, allocations: 7.441 MB / 3.29 GB, free: 11.99 MB / 1.573 GB Notification: Performance of simCode: alias equations: time 0.02346/10.52, allocations: 3.142 MB / 3.293 GB, free: 8.961 MB / 1.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01729/10.54, allocations: 7.806 MB / 3.301 GB, free: 7.477 MB / 1.573 GB Notification: Performance of SimCode: time 1.182e-06/10.54, allocations: 0 / 3.301 GB, free: 7.477 MB / 1.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.185/13.73, allocations: 490.8 MB / 3.78 GB, free: 228.7 MB / 1.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/13.73, allocations: 274 kB / 3.78 GB, free: 228.4 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.61/44.33, allocations: 0 / 3.78 GB, free: 228.4 MB / 1.714 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)