Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.827/1.827, allocations: 288.2 MB / 303.2 MB, free: 8.09 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.00108/0.00108, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.76/1.76, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009497/0.00095, allocations: 90.86 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005661/0.0005665, allocations: 15.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2578, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.658/3.916, allocations: 1.132 GB / 2.111 GB, free: 50.29 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 1.714/5.63, allocations: 282.8 MB / 2.387 GB, free: 22.32 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06206/5.692, allocations: 0.9358 MB / 2.388 GB, free: 22.32 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.06954/5.762, allocations: 13.42 MB / 2.401 GB, free: 22.3 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.1551/5.917, allocations: 33.32 MB / 2.434 GB, free: 21.94 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.08697/6.004, allocations: 25.1 MB / 2.458 GB, free: 20.64 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.0822/6.086, allocations: 30.58 MB / 2.488 GB, free: 19.58 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04823/6.135, allocations: 14.37 MB / 2.502 GB, free: 30.62 MB / 1.26 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05834/6.193, allocations: 17.42 MB / 2.519 GB, free: 28.27 MB / 1.26 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03389/6.227, allocations: 13.9 MB / 2.533 GB, free: 26.48 MB / 1.26 GB Notification: Performance of NFPackage.collectConstants: time 0.008985/6.236, allocations: 0.6225 MB / 2.533 GB, free: 26.48 MB / 1.26 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06033/6.296, allocations: 13.05 MB / 2.546 GB, free: 24.25 MB / 1.26 GB Notification: Performance of NFScalarize.scalarize: time 0.01199/6.309, allocations: 2.898 MB / 2.549 GB, free: 23.66 MB / 1.26 GB Notification: Performance of NFVerifyModel.verify: time 0.01643/6.325, allocations: 4.083 MB / 2.553 GB, free: 22.34 MB / 1.26 GB Notification: Performance of NFConvertDAE.convert: time 0.06597/6.391, allocations: 31.28 MB / 2.583 GB, free: 11.68 MB / 1.276 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/6.391, allocations: 4 kB / 2.583 GB, free: 11.68 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.825e-06/6.391, allocations: 1.859 kB / 2.583 GB, free: 11.68 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001723/6.393, allocations: 0 / 2.583 GB, free: 11.68 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.05942/6.452, allocations: 16.66 MB / 2.6 GB, free: 12.73 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 7.492e-05/6.452, allocations: 12.03 kB / 2.6 GB, free: 12.72 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008027/6.46, allocations: 1.578 MB / 2.601 GB, free: 11.9 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/6.472, allocations: 2.19 MB / 2.603 GB, free: 9.695 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04663/6.519, allocations: 16.35 MB / 2.619 GB, free: 88 kB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/6.52, allocations: 0.9421 MB / 2.62 GB, free: 15.53 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005188/6.525, allocations: 1.255 MB / 2.622 GB, free: 14.68 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04866/6.574, allocations: 13.78 MB / 2.635 GB, free: 4.973 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007418/6.575, allocations: 39.77 kB / 2.635 GB, free: 4.953 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003748/6.579, allocations: 0.5049 MB / 2.636 GB, free: 4.832 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/6.579, allocations: 341.8 kB / 2.636 GB, free: 4.508 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/6.604, allocations: 9.604 MB / 2.645 GB, free: 14.7 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.1142/6.718, allocations: 70.94 MB / 2.714 GB, free: 4.832 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/6.726, allocations: 4.533 MB / 2.719 GB, free: 1.578 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09726/6.823, allocations: 51.84 MB / 2.77 GB, free: 7.348 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/6.824, allocations: 118.6 kB / 2.77 GB, free: 7.27 MB / 1.432 GB Notification: Performance of pre-optimization done (n=412): time 2.129e-05/6.824, allocations: 4 kB / 2.77 GB, free: 7.266 MB / 1.432 GB Notification: Performance of matching and sorting (n=412): time 0.02261/6.846, allocations: 6.917 MB / 2.776 GB, free: 2.215 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005492/6.847, allocations: 0.7941 MB / 2.777 GB, free: 1.254 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04729/6.894, allocations: 16.3 MB / 2.793 GB, free: 6.168 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.001643/6.896, allocations: 147.2 kB / 2.793 GB, free: 6.09 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01269/6.909, allocations: 8.306 MB / 2.801 GB, free: 2.645 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003081/6.912, allocations: 1.457 MB / 2.803 GB, free: 1.402 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009261/6.913, allocations: 119.9 kB / 2.803 GB, free: 1.379 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.0004895/6.913, allocations: 0.53 MB / 2.803 GB, free: 0.9375 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/6.917, allocations: 1.962 MB / 2.805 GB, free: 15.73 MB / 1.464 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007476/6.925, allocations: 4.716 MB / 2.81 GB, free: 10.94 MB / 1.464 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005834/6.931, allocations: 2.78 MB / 2.813 GB, free: 9.41 MB / 1.464 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-05/6.931, allocations: 20 kB / 2.813 GB, free: 9.391 MB / 1.464 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02151/6.952, allocations: 7.737 MB / 2.82 GB, free: 3.781 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/6.952, allocations: 32 kB / 2.82 GB, free: 3.75 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/6.953, allocations: 64 kB / 2.82 GB, free: 3.688 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/6.953, allocations: 112 kB / 2.82 GB, free: 3.578 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006385/6.959, allocations: 1.321 MB / 2.822 GB, free: 2.305 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002373/6.959, allocations: 143.5 kB / 2.822 GB, free: 2.164 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/6.976, allocations: 1.741 MB / 2.824 GB, free: 0.5234 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/6.979, allocations: 355.9 kB / 2.824 GB, free: 236 kB / 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.01347/6.992, allocations: 3.388 MB / 2.827 GB, free: 14.54 MB / 1.479 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006175/6.998, allocations: 1.613 MB / 2.829 GB, free: 12.91 MB / 1.479 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/7.018, allocations: 7.542 MB / 2.836 GB, free: 7.703 MB / 1.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002306/7.018, allocations: 83.94 kB / 2.836 GB, free: 7.621 MB / 1.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.741e-05/7.018, allocations: 8 kB / 2.836 GB, free: 7.613 MB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005612/7.024, allocations: 3.827 MB / 2.84 GB, free: 3.473 MB / 1.479 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06504/7.089, allocations: 28.6 MB / 2.868 GB, free: 6.508 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.834e-05/7.089, allocations: 28 kB / 2.868 GB, free: 6.48 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003269/7.092, allocations: 0.7723 MB / 2.869 GB, free: 5.707 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.581e-05/7.092, allocations: 59.98 kB / 2.869 GB, free: 5.648 MB / 1.51 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006984/7.093, allocations: 152 kB / 2.869 GB, free: 5.5 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.939e-05/7.093, allocations: 71.72 kB / 2.869 GB, free: 5.43 MB / 1.51 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-05/7.093, allocations: 52.12 kB / 2.869 GB, free: 5.379 MB / 1.51 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6626/7.756, allocations: 28.22 MB / 2.897 GB, free: 0.8048 GB / 1.51 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01381/7.77, allocations: 3.207 MB / 2.9 GB, free: 0.8044 GB / 1.51 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007139/7.777, allocations: 129.7 kB / 2.9 GB, free: 0.8044 GB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/7.791, allocations: 0.5464 MB / 2.9 GB, free: 0.8043 GB / 1.51 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/7.793, allocations: 402.1 kB / 2.901 GB, free: 0.8043 GB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001088/7.794, allocations: 257.2 kB / 2.901 GB, free: 0.8043 GB / 1.51 GB Notification: Performance of sorting global known variables: time 0.03929/7.833, allocations: 11.6 MB / 2.912 GB, free: 0.8008 GB / 1.51 GB Notification: Performance of sort global known variables: time 1.403e-06/7.833, allocations: 0 / 2.912 GB, free: 0.8008 GB / 1.51 GB Notification: Performance of remove unused functions: time 0.02798/7.861, allocations: 5.289 MB / 2.917 GB, free: 0.8002 GB / 1.51 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.04587/7.907, allocations: 29.98 MB / 2.947 GB, free: 0.7791 GB / 1.51 GB Notification: Performance of simCode: created initialization part: time 0.01133/7.919, allocations: 5.309 MB / 2.952 GB, free: 0.7772 GB / 1.51 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-05/7.919, allocations: 12.56 kB / 2.952 GB, free: 0.7772 GB / 1.51 GB Notification: Performance of simCode: created simulation system equations: time 0.004839/7.923, allocations: 2.568 MB / 2.954 GB, free: 0.7763 GB / 1.51 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05201/7.976, allocations: 9.375 MB / 2.964 GB, free: 0.7747 GB / 1.51 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/8.088, allocations: 104.1 MB / 3.065 GB, free: 0.6864 GB / 1.51 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01751/8.106, allocations: 7.757 MB / 3.073 GB, free: 0.6842 GB / 1.51 GB Notification: Performance of simCode: alias equations: time 0.02212/8.128, allocations: 3.152 MB / 3.076 GB, free: 0.683 GB / 1.51 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01691/8.145, allocations: 7.814 MB / 3.084 GB, free: 0.6763 GB / 1.51 GB Notification: Performance of SimCode: time 1.202e-06/8.145, allocations: 0 / 3.084 GB, free: 0.6763 GB / 1.51 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6791/8.824, allocations: 486.2 MB / 3.558 GB, free: 210.8 MB / 1.51 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/8.824, allocations: 268.6 kB / 3.559 GB, free: 210.4 MB / 1.51 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.86/36.68, allocations: 0 / 3.559 GB, free: 210.4 MB / 1.51 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)