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.0008289/0.0008289, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001092/0.001091, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.837/1.837, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0007908/0.0007909, allocations: 13.03 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2734, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.224/3.498, allocations: 1.248 GB / 2.036 GB, free: 2.625 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 1.575/5.073, allocations: 308.6 MB / 2.337 GB, free: 34.47 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05897/5.132, allocations: 0.9773 MB / 2.338 GB, free: 34.47 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.04327/5.175, allocations: 8.614 MB / 2.346 GB, free: 34.4 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.1054/5.28, allocations: 24.79 MB / 2.371 GB, free: 33.35 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.05109/5.331, allocations: 12.46 MB / 2.383 GB, free: 32.12 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.1056/5.437, allocations: 63.2 MB / 2.445 GB, free: 12.44 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04804/5.485, allocations: 14.22 MB / 2.458 GB, free: 3.816 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06025/5.546, allocations: 18.87 MB / 2.477 GB, free: 3.879 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04271/5.588, allocations: 18.31 MB / 2.495 GB, free: 4.273 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.007939/5.596, allocations: 0.6242 MB / 2.495 GB, free: 3.652 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04515/5.641, allocations: 12.13 MB / 2.507 GB, free: 10.08 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.008487/5.65, allocations: 2.984 MB / 2.51 GB, free: 7.93 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/5.662, allocations: 4.078 MB / 2.514 GB, free: 5.535 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.05789/5.72, allocations: 31.53 MB / 2.545 GB, free: 10.6 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/5.72, allocations: 0 / 2.545 GB, free: 10.6 MB / 1.326 GB Notification: Performance of FrontEnd: time 2.906e-06/5.72, allocations: 0 / 2.545 GB, free: 10.6 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.00121/5.721, allocations: 0 / 2.545 GB, free: 10.6 MB / 1.326 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.04445/5.766, allocations: 16.67 MB / 2.561 GB, free: 11.54 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/5.766, allocations: 8.031 kB / 2.561 GB, free: 11.53 MB / 1.342 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005852/5.771, allocations: 1.579 MB / 2.563 GB, free: 10.71 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009443/5.781, allocations: 2.187 MB / 2.565 GB, free: 8.504 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04036/5.821, allocations: 16.87 MB / 2.581 GB, free: 13.71 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/5.823, allocations: 0.9484 MB / 2.582 GB, free: 12.76 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005124/5.828, allocations: 1.259 MB / 2.583 GB, free: 11.5 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04451/5.873, allocations: 13.88 MB / 2.597 GB, free: 12.93 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004499/5.873, allocations: 35.69 kB / 2.597 GB, free: 12.89 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/5.876, allocations: 0.5069 MB / 2.598 GB, free: 12.39 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/5.876, allocations: 335.9 kB / 2.598 GB, free: 12.06 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/5.901, allocations: 9.608 MB / 2.607 GB, free: 2.488 MB / 1.373 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.09978/6.001, allocations: 70.6 MB / 2.676 GB, free: 8.855 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/6.009, allocations: 4.547 MB / 2.681 GB, free: 4.078 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/6.013, allocations: 2.421 MB / 2.683 GB, free: 1.582 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.65/6.663, allocations: 51.87 MB / 2.734 GB, free: 0.8059 GB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/6.663, allocations: 119.7 kB / 2.734 GB, free: 0.8059 GB / 1.498 GB Notification: Performance of pre-optimization done (n=412): time 7.494e-06/6.663, allocations: 0 / 2.734 GB, free: 0.8059 GB / 1.498 GB Notification: Performance of matching and sorting (n=412): time 0.02029/6.683, allocations: 6.915 MB / 2.741 GB, free: 0.8058 GB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/6.684, allocations: 0.7897 MB / 2.741 GB, free: 0.8049 GB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04074/6.724, allocations: 15.88 MB / 2.757 GB, free: 0.8026 GB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/6.726, allocations: 145.7 kB / 2.757 GB, free: 0.8025 GB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.01132/6.737, allocations: 8.313 MB / 2.765 GB, free: 0.7968 GB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.002625/6.74, allocations: 1.45 MB / 2.766 GB, free: 0.7957 GB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/6.741, allocations: 123.9 kB / 2.767 GB, free: 0.7956 GB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0003498/6.741, allocations: 0.5369 MB / 2.767 GB, free: 0.7952 GB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/6.745, allocations: 1.957 MB / 2.769 GB, free: 0.7944 GB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/6.751, allocations: 4.739 MB / 2.774 GB, free: 0.7905 GB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/6.756, allocations: 2.79 MB / 2.776 GB, free: 0.7893 GB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/6.756, allocations: 19.72 kB / 2.776 GB, free: 0.7893 GB / 1.498 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01622/6.772, allocations: 7.733 MB / 2.784 GB, free: 0.7861 GB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/6.772, allocations: 31.5 kB / 2.784 GB, free: 0.7861 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.942e-05/6.772, allocations: 70.72 kB / 2.784 GB, free: 0.7861 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/6.772, allocations: 107 kB / 2.784 GB, free: 0.7861 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/6.776, allocations: 1.322 MB / 2.785 GB, free: 0.7859 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/6.776, allocations: 139.5 kB / 2.786 GB, free: 0.7859 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/6.79, allocations: 1.721 MB / 2.787 GB, free: 0.7851 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/6.792, allocations: 360.4 kB / 2.788 GB, free: 0.7851 GB / 1.498 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.01096/6.803, allocations: 3.379 MB / 2.791 GB, free: 0.7832 GB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005946/6.809, allocations: 1.626 MB / 2.792 GB, free: 0.7823 GB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/6.825, allocations: 7.538 MB / 2.8 GB, free: 0.7794 GB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002345/6.826, allocations: 82.98 kB / 2.8 GB, free: 0.7794 GB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-05/6.826, allocations: 9.5 kB / 2.8 GB, free: 0.7794 GB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004487/6.83, allocations: 3.815 MB / 2.804 GB, free: 0.7768 GB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05655/6.887, allocations: 28.37 MB / 2.831 GB, free: 0.7614 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001613/6.887, allocations: 30.09 kB / 2.831 GB, free: 0.7614 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003191/6.89, allocations: 0.7746 MB / 2.832 GB, free: 0.7612 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/6.89, allocations: 55.31 kB / 2.832 GB, free: 0.7612 GB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008581/6.891, allocations: 155.2 kB / 2.832 GB, free: 0.7611 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/6.891, allocations: 79.27 kB / 2.832 GB, free: 0.7611 GB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.082e-05/6.891, allocations: 47.34 kB / 2.832 GB, free: 0.7611 GB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/6.91, allocations: 11.86 MB / 2.844 GB, free: 0.7532 GB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009356/6.92, allocations: 3.094 MB / 2.847 GB, free: 0.7507 GB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005255/6.925, allocations: 137.1 kB / 2.847 GB, free: 0.7507 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/6.937, allocations: 0.5425 MB / 2.848 GB, free: 0.7504 GB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/6.938, allocations: 405 kB / 2.848 GB, free: 0.7502 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00129/6.939, allocations: 260.2 kB / 2.848 GB, free: 0.7501 GB / 1.498 GB Notification: Performance of sorting global known variables: time 0.03083/6.97, allocations: 11.27 MB / 2.859 GB, free: 0.7434 GB / 1.498 GB Notification: Performance of sort global known variables: time 5.51e-07/6.97, allocations: 1.688 kB / 2.859 GB, free: 0.7434 GB / 1.498 GB Notification: Performance of remove unused functions: time 0.02439/6.995, allocations: 5.198 MB / 2.864 GB, free: 0.7386 GB / 1.498 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.0365/7.031, allocations: 16.81 MB / 2.881 GB, free: 0.7225 GB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.01161/7.043, allocations: 5.306 MB / 2.886 GB, free: 0.7174 GB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 4.714e-05/7.043, allocations: 9.5 kB / 2.886 GB, free: 0.7174 GB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.004458/7.047, allocations: 2.572 MB / 2.889 GB, free: 0.7149 GB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05253/7.1, allocations: 9.458 MB / 2.898 GB, free: 0.7066 GB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.516/7.616, allocations: 198.1 MB / 3.091 GB, free: 0.5031 GB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/7.63, allocations: 7.43 MB / 3.099 GB, free: 0.4958 GB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.02102/7.651, allocations: 3.133 MB / 3.102 GB, free: 0.493 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01647/7.668, allocations: 7.81 MB / 3.109 GB, free: 497 MB / 1.498 GB Notification: Performance of SimCode: time 2.475e-06/7.668, allocations: 3.844 kB / 3.109 GB, free: 497 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6159/8.284, allocations: 490.8 MB / 3.589 GB, free: 7.957 MB / 1.498 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/8.284, allocations: 258 kB / 3.589 GB, free: 7.613 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/26.98, allocations: 0 / 3.589 GB, free: 7.613 MB / 1.498 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) Environment - environmentSimulation: