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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.151/1.151, allocations: 205.1 MB / 222 MB, free: 4.754 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.493/1.493, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001236/0.001236, allocations: 65.89 kB / 0.6709 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.097/2.261, allocations: 1.34 GB / 2.123 GB, free: 6.461 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.9215/3.182, allocations: 330.1 MB / 2.445 GB, free: 37.37 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0337/3.216, allocations: 1.045 MB / 2.446 GB, free: 37.37 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.02854/3.245, allocations: 10.62 MB / 2.456 GB, free: 37.2 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.06668/3.311, allocations: 29.31 MB / 2.485 GB, free: 34.27 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.03483/3.346, allocations: 17.26 MB / 2.502 GB, free: 25.78 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.06683/3.413, allocations: 74.37 MB / 2.575 GB, free: 3.598 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02993/3.443, allocations: 18.21 MB / 2.592 GB, free: 1.504 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04423/3.487, allocations: 20.83 MB / 2.613 GB, free: 13.71 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02912/3.516, allocations: 17.61 MB / 2.63 GB, free: 13.41 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.004384/3.521, allocations: 0.8828 MB / 2.631 GB, free: 12.53 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/3.557, allocations: 15.83 MB / 2.646 GB, free: 13.42 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.005388/3.562, allocations: 3.596 MB / 2.65 GB, free: 9.891 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01476/3.577, allocations: 9.651 MB / 2.659 GB, free: 268 kB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.05181/3.629, allocations: 40.23 MB / 2.698 GB, free: 9.316 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/3.629, allocations: 0 / 2.698 GB, free: 9.316 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.383e-06/3.629, allocations: 0 / 2.698 GB, free: 9.316 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.0005678/3.629, allocations: 0 / 2.698 GB, free: 9.316 MB / 1.498 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.03023/3.659, allocations: 20.49 MB / 2.718 GB, free: 4.871 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/3.659, allocations: 8.031 kB / 2.718 GB, free: 4.863 MB / 1.514 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001778/3.661, allocations: 1.579 MB / 2.72 GB, free: 3.273 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/3.666, allocations: 2.192 MB / 2.722 GB, free: 1.059 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/3.69, allocations: 17.4 MB / 2.739 GB, free: 15.99 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/3.691, allocations: 0.9511 MB / 2.74 GB, free: 15.04 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/3.692, allocations: 1.26 MB / 2.741 GB, free: 13.78 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/3.712, allocations: 13.97 MB / 2.755 GB, free: 15.12 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/3.712, allocations: 39.59 kB / 2.755 GB, free: 15.08 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009004/3.713, allocations: 0.509 MB / 2.755 GB, free: 14.57 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/3.714, allocations: 335.8 kB / 2.756 GB, free: 14.25 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/3.728, allocations: 9.699 MB / 2.765 GB, free: 4.582 MB / 1.561 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.06426/3.792, allocations: 70.6 MB / 2.834 GB, free: 10.85 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/3.798, allocations: 4.567 MB / 2.839 GB, free: 6.047 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/3.801, allocations: 2.423 MB / 2.841 GB, free: 3.547 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4127/4.214, allocations: 51.49 MB / 2.891 GB, free: 0.9441 GB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/4.214, allocations: 121.3 kB / 2.891 GB, free: 0.944 GB / 1.654 GB Notification: Performance of pre-optimization done (n=412): time 1.649e-05/4.214, allocations: 0 / 2.891 GB, free: 0.944 GB / 1.654 GB Notification: Performance of matching and sorting (n=412): time 0.01564/4.23, allocations: 6.958 MB / 2.898 GB, free: 0.9439 GB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002611/4.23, allocations: 0.7888 MB / 2.899 GB, free: 0.943 GB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02387/4.254, allocations: 16.04 MB / 2.915 GB, free: 0.9376 GB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0008021/4.255, allocations: 141 kB / 2.915 GB, free: 0.9375 GB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.004975/4.26, allocations: 8.312 MB / 2.923 GB, free: 0.9324 GB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/4.261, allocations: 1.453 MB / 2.924 GB, free: 0.9313 GB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/4.262, allocations: 1.387 MB / 2.926 GB, free: 0.9307 GB / 1.654 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/4.262, allocations: 301.1 kB / 2.926 GB, free: 0.9304 GB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/4.265, allocations: 1.978 MB / 2.928 GB, free: 0.9296 GB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/4.269, allocations: 4.777 MB / 2.933 GB, free: 0.9257 GB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/4.274, allocations: 6.437 MB / 2.939 GB, free: 0.9213 GB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/4.274, allocations: 26.66 kB / 2.939 GB, free: 0.9213 GB / 1.654 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01051/4.285, allocations: 7.77 MB / 2.946 GB, free: 0.9181 GB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/4.285, allocations: 35.23 kB / 2.947 GB, free: 0.9181 GB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.791e-05/4.285, allocations: 67.16 kB / 2.947 GB, free: 0.9181 GB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.849e-05/4.285, allocations: 95 kB / 2.947 GB, free: 0.9181 GB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/4.288, allocations: 1.324 MB / 2.948 GB, free: 0.9179 GB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-05/4.288, allocations: 144.7 kB / 2.948 GB, free: 0.9179 GB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008572/4.297, allocations: 1.714 MB / 2.95 GB, free: 0.9171 GB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/4.297, allocations: 355.3 kB / 2.95 GB, free: 0.9171 GB / 1.654 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.004747/4.302, allocations: 3.389 MB / 2.953 GB, free: 0.9152 GB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002594/4.305, allocations: 1.617 MB / 2.955 GB, free: 0.9143 GB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008993/4.314, allocations: 7.54 MB / 2.962 GB, free: 0.9114 GB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.841e-05/4.314, allocations: 89.84 kB / 2.962 GB, free: 0.9114 GB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/4.314, allocations: 7.469 kB / 2.962 GB, free: 0.9114 GB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00291/4.317, allocations: 3.849 MB / 2.966 GB, free: 0.9087 GB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/4.345, allocations: 28.39 MB / 2.994 GB, free: 0.89 GB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/4.345, allocations: 32.69 kB / 2.994 GB, free: 0.89 GB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/4.347, allocations: 0.7747 MB / 2.995 GB, free: 0.8898 GB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-05/4.347, allocations: 54.62 kB / 2.995 GB, free: 0.8898 GB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/4.348, allocations: 155.6 kB / 2.995 GB, free: 0.8897 GB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-05/4.348, allocations: 68.95 kB / 2.995 GB, free: 0.8897 GB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-05/4.348, allocations: 52.62 kB / 2.995 GB, free: 0.8897 GB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/4.358, allocations: 11.92 MB / 3.007 GB, free: 0.8805 GB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00412/4.363, allocations: 2.813 MB / 3.009 GB, free: 0.8777 GB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/4.364, allocations: 151.7 kB / 3.01 GB, free: 0.8775 GB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0057/4.37, allocations: 0.5502 MB / 3.01 GB, free: 0.877 GB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/4.37, allocations: 399.8 kB / 3.01 GB, free: 0.8767 GB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/4.371, allocations: 263.3 kB / 3.011 GB, free: 0.8764 GB / 1.654 GB Notification: Performance of sorting global known variables: time 0.01273/4.383, allocations: 11.43 MB / 3.022 GB, free: 0.8653 GB / 1.654 GB Notification: Performance of sort global known variables: time 1.3e-07/4.383, allocations: 0 / 3.022 GB, free: 0.8653 GB / 1.654 GB Notification: Performance of remove unused functions: time 0.01202/4.395, allocations: 5.237 MB / 3.027 GB, free: 0.8605 GB / 1.654 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.01769/4.413, allocations: 16.75 MB / 3.043 GB, free: 0.8446 GB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.006361/4.42, allocations: 5.34 MB / 3.049 GB, free: 0.8394 GB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/4.42, allocations: 7.906 kB / 3.049 GB, free: 0.8394 GB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/4.422, allocations: 2.586 MB / 3.051 GB, free: 0.8369 GB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03453/4.457, allocations: 9.427 MB / 3.06 GB, free: 0.8286 GB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4025/4.859, allocations: 268.3 MB / 3.322 GB, free: 0.5472 GB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/4.864, allocations: 7.438 MB / 3.33 GB, free: 0.5399 GB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.01048/4.875, allocations: 3.139 MB / 3.333 GB, free: 0.5371 GB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00625/4.881, allocations: 7.825 MB / 3.34 GB, free: 0.5295 GB / 1.654 GB Notification: Performance of SimCode: time 6.31e-07/4.881, allocations: 0 / 3.34 GB, free: 0.5295 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4856/5.367, allocations: 488.7 MB / 3.818 GB, free: 55.31 MB / 1.654 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/5.367, allocations: 285.3 kB / 3.818 GB, free: 54.92 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/20.03, allocations: 0 / 3.818 GB, free: 54.92 MB / 1.654 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)