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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006532/0.006532, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.086/1.086, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.436/1.436, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004361/0.0004361, allocations: 20.95 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.051/2.21, allocations: 1.322 GB / 2.11 GB, free: 9.527 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.8496/3.059, allocations: 326.6 MB / 2.429 GB, free: 32.05 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03273/3.092, allocations: 0.975 MB / 2.43 GB, free: 32.05 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.02476/3.117, allocations: 10.55 MB / 2.441 GB, free: 25.69 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.06581/3.183, allocations: 29.31 MB / 2.469 GB, free: 6.789 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.03429/3.217, allocations: 17.34 MB / 2.486 GB, free: 10.97 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.06921/3.286, allocations: 74.33 MB / 2.559 GB, free: 5.062 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02606/3.312, allocations: 17.63 MB / 2.576 GB, free: 3.762 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03913/3.351, allocations: 20.2 MB / 2.596 GB, free: 0.5742 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02489/3.376, allocations: 16.83 MB / 2.612 GB, free: 0.9141 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.003525/3.38, allocations: 0.625 MB / 2.613 GB, free: 296 kB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03304/3.413, allocations: 15.58 MB / 2.628 GB, free: 1.43 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.004786/3.418, allocations: 3.184 MB / 2.631 GB, free: 14.29 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.01407/3.432, allocations: 9.143 MB / 2.64 GB, free: 5.164 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.04816/3.48, allocations: 39.36 MB / 2.678 GB, free: 15.09 MB / 1.451 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/3.48, allocations: 0 / 2.678 GB, free: 15.09 MB / 1.451 GB Notification: Performance of FrontEnd: time 2.414e-06/3.48, allocations: 0 / 2.678 GB, free: 15.09 MB / 1.451 GB Notification: Performance of Transformations before backend: time 0.0005579/3.48, allocations: 0 / 2.678 GB, free: 15.09 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.02553/3.506, allocations: 16.5 MB / 2.695 GB, free: 14.64 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/3.506, allocations: 8.031 kB / 2.695 GB, free: 14.63 MB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/3.508, allocations: 1.579 MB / 2.696 GB, free: 13.04 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/3.512, allocations: 2.197 MB / 2.698 GB, free: 10.82 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3553/3.868, allocations: 17.4 MB / 2.715 GB, free: 0.7942 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/3.869, allocations: 0.9452 MB / 2.716 GB, free: 0.7941 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/3.871, allocations: 1.261 MB / 2.717 GB, free: 0.7937 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/3.891, allocations: 13.96 MB / 2.731 GB, free: 0.7869 GB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002461/3.892, allocations: 42.19 kB / 2.731 GB, free: 0.7869 GB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009453/3.893, allocations: 0.5112 MB / 2.732 GB, free: 0.7865 GB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004075/3.893, allocations: 337 kB / 2.732 GB, free: 0.7865 GB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/3.908, allocations: 9.698 MB / 2.741 GB, free: 0.7828 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.05362/3.962, allocations: 70.63 MB / 2.81 GB, free: 0.7267 GB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004689/3.966, allocations: 4.566 MB / 2.815 GB, free: 0.7241 GB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/3.969, allocations: 2.441 MB / 2.817 GB, free: 0.7228 GB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06666/4.035, allocations: 51.87 MB / 2.868 GB, free: 0.6796 GB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/4.036, allocations: 121.4 kB / 2.868 GB, free: 0.6795 GB / 1.467 GB Notification: Performance of pre-optimization done (n=412): time 1.26e-05/4.036, allocations: 3.938 kB / 2.868 GB, free: 0.6795 GB / 1.467 GB Notification: Performance of matching and sorting (n=412): time 0.01049/4.046, allocations: 6.944 MB / 2.875 GB, free: 0.675 GB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/4.046, allocations: 0.7891 MB / 2.876 GB, free: 0.674 GB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01987/4.066, allocations: 16.04 MB / 2.891 GB, free: 0.6585 GB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0005515/4.067, allocations: 145.7 kB / 2.891 GB, free: 0.6584 GB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.004591/4.071, allocations: 8.303 MB / 2.899 GB, free: 0.6502 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009731/4.072, allocations: 1.443 MB / 2.901 GB, free: 0.6488 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/4.073, allocations: 491.1 kB / 2.901 GB, free: 0.6484 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/4.073, allocations: 305.1 kB / 2.902 GB, free: 0.6481 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/4.075, allocations: 1.98 MB / 2.904 GB, free: 0.6461 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/4.078, allocations: 4.775 MB / 2.908 GB, free: 0.6404 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/4.083, allocations: 6.438 MB / 2.914 GB, free: 0.6334 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/4.084, allocations: 20 kB / 2.914 GB, free: 0.6334 GB / 1.467 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.009464/4.093, allocations: 7.787 MB / 2.922 GB, free: 0.6258 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/4.093, allocations: 32 kB / 2.922 GB, free: 0.6257 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/4.093, allocations: 64 kB / 2.922 GB, free: 0.6257 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.529e-05/4.093, allocations: 96 kB / 2.922 GB, free: 0.6256 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/4.096, allocations: 1.33 MB / 2.924 GB, free: 0.6243 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-05/4.096, allocations: 139.5 kB / 2.924 GB, free: 0.6242 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008536/4.105, allocations: 1.722 MB / 2.925 GB, free: 0.6225 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/4.105, allocations: 363.9 kB / 2.926 GB, free: 0.6221 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.004904/4.11, allocations: 3.382 MB / 2.929 GB, free: 0.6188 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/4.112, allocations: 1.624 MB / 2.931 GB, free: 0.6172 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/4.121, allocations: 7.545 MB / 2.938 GB, free: 0.61 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/4.121, allocations: 75.95 kB / 2.938 GB, free: 0.6099 GB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/4.121, allocations: 8 kB / 2.938 GB, free: 0.6099 GB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/4.123, allocations: 3.851 MB / 2.942 GB, free: 0.6058 GB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/4.15, allocations: 28.4 MB / 2.97 GB, free: 0.5778 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/4.15, allocations: 32 kB / 2.97 GB, free: 0.5777 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/4.152, allocations: 0.7684 MB / 2.97 GB, free: 0.577 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.142e-05/4.152, allocations: 55.98 kB / 2.97 GB, free: 0.5769 GB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/4.152, allocations: 156 kB / 2.971 GB, free: 0.5768 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-05/4.152, allocations: 67.78 kB / 2.971 GB, free: 0.5767 GB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/4.152, allocations: 51.75 kB / 2.971 GB, free: 0.5767 GB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009895/4.162, allocations: 11.91 MB / 2.982 GB, free: 0.5644 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/4.166, allocations: 3.09 MB / 2.985 GB, free: 0.5614 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/4.168, allocations: 128 kB / 2.985 GB, free: 0.5613 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006708/4.175, allocations: 0.5572 MB / 2.986 GB, free: 0.5607 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/4.176, allocations: 410.5 kB / 2.986 GB, free: 0.5603 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003184/4.176, allocations: 255.9 kB / 2.987 GB, free: 0.5601 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.01243/4.188, allocations: 11.43 MB / 2.998 GB, free: 0.549 GB / 1.467 GB Notification: Performance of sort global known variables: time 2.2e-07/4.188, allocations: 0 / 2.998 GB, free: 0.549 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.01211/4.2, allocations: 5.226 MB / 3.003 GB, free: 0.5442 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.01688/4.217, allocations: 17.02 MB / 3.02 GB, free: 0.5273 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.00614/4.223, allocations: 5.346 MB / 3.025 GB, free: 0.5221 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/4.223, allocations: 8.25 kB / 3.025 GB, free: 0.5221 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/4.226, allocations: 2.585 MB / 3.027 GB, free: 0.5196 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.131/4.357, allocations: 10.88 MB / 3.038 GB, free: 0.5096 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.402/4.759, allocations: 268.6 MB / 3.3 GB, free: 233.4 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/4.764, allocations: 7.45 MB / 3.307 GB, free: 225.9 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.01099/4.775, allocations: 3.144 MB / 3.311 GB, free: 222.9 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008435/4.784, allocations: 8.068 MB / 3.318 GB, free: 214.9 MB / 1.467 GB Notification: Performance of SimCode: time 6.21e-07/4.784, allocations: 0 / 3.318 GB, free: 214.9 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.631/6.415, allocations: 0.5692 GB / 3.888 GB, free: 479.2 MB / 1.467 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/6.415, allocations: 276.8 kB / 3.888 GB, free: 478.9 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/21.69, allocations: 4.062 kB / 3.888 GB, free: 478.9 MB / 1.467 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/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)