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.001084/0.001083, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 195.1 kB / 16.64 MB, free: 6.59 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.567/1.567, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001535/0.001535, allocations: 68.08 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2034, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.62/2.824, allocations: 1.349 GB / 2.133 GB, free: 4.285 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.14/3.964, allocations: 329.4 MB / 2.454 GB, free: 38.97 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04445/4.008, allocations: 1.139 MB / 2.456 GB, free: 38.97 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.03526/4.044, allocations: 12.96 MB / 2.468 GB, free: 33.74 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.08543/4.129, allocations: 32.09 MB / 2.5 GB, free: 16.31 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.04335/4.172, allocations: 18.93 MB / 2.518 GB, free: 2.812 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.07527/4.248, allocations: 56.54 MB / 2.573 GB, free: 1.469 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03983/4.288, allocations: 22.51 MB / 2.595 GB, free: 11.07 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05526/4.343, allocations: 24.83 MB / 2.619 GB, free: 3.676 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03172/4.375, allocations: 17.65 MB / 2.637 GB, free: 3.211 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.007529/4.382, allocations: 2.07 MB / 2.639 GB, free: 1.141 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04198/4.424, allocations: 17.92 MB / 2.656 GB, free: 15.94 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.008181/4.432, allocations: 4.744 MB / 2.661 GB, free: 11.24 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.02213/4.455, allocations: 10.9 MB / 2.671 GB, free: 372 kB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.0671/4.522, allocations: 41.46 MB / 2.712 GB, free: 8.168 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/4.522, allocations: 0 / 2.712 GB, free: 8.168 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.773e-06/4.522, allocations: 0 / 2.712 GB, free: 8.168 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0009667/4.523, allocations: 0 / 2.712 GB, free: 8.168 MB / 1.514 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.04357/4.566, allocations: 20.5 MB / 2.732 GB, free: 3.711 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/4.566, allocations: 8.031 kB / 2.732 GB, free: 3.703 MB / 1.529 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00388/4.57, allocations: 1.58 MB / 2.734 GB, free: 2.113 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007996/4.578, allocations: 2.194 MB / 2.736 GB, free: 15.89 MB / 1.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03319/4.611, allocations: 18.22 MB / 2.753 GB, free: 14 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008261/4.612, allocations: 0.944 MB / 2.754 GB, free: 13.05 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/4.615, allocations: 1.255 MB / 2.756 GB, free: 11.8 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/4.643, allocations: 14.09 MB / 2.769 GB, free: 12.93 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002714/4.644, allocations: 47.61 kB / 2.769 GB, free: 12.88 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/4.645, allocations: 0.5186 MB / 2.77 GB, free: 12.37 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002835/4.645, allocations: 339.9 kB / 2.77 GB, free: 12.04 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/4.663, allocations: 9.699 MB / 2.78 GB, free: 2.371 MB / 1.576 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.439/5.102, allocations: 72.28 MB / 2.85 GB, free: 0.8935 GB / 1.607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007116/5.109, allocations: 4.577 MB / 2.855 GB, free: 0.8921 GB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003712/5.113, allocations: 2.442 MB / 2.857 GB, free: 0.891 GB / 1.607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07257/5.185, allocations: 51.66 MB / 2.908 GB, free: 0.8529 GB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/5.185, allocations: 118.9 kB / 2.908 GB, free: 0.8528 GB / 1.607 GB Notification: Performance of pre-optimization done (n=412): time 6.192e-06/5.185, allocations: 0 / 2.908 GB, free: 0.8528 GB / 1.607 GB Notification: Performance of matching and sorting (n=412): time 0.0145/5.2, allocations: 6.962 MB / 2.915 GB, free: 0.85 GB / 1.607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/5.2, allocations: 0.7932 MB / 2.915 GB, free: 0.8491 GB / 1.607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02387/5.224, allocations: 16.26 MB / 2.931 GB, free: 0.841 GB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/5.225, allocations: 141.2 kB / 2.931 GB, free: 0.8409 GB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006314/5.232, allocations: 8.225 MB / 2.939 GB, free: 0.8341 GB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/5.233, allocations: 1.449 MB / 2.941 GB, free: 0.8328 GB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/5.235, allocations: 1.431 MB / 2.942 GB, free: 0.8321 GB / 1.607 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/5.235, allocations: 304.8 kB / 2.942 GB, free: 0.8318 GB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/5.238, allocations: 2.022 MB / 2.944 GB, free: 0.8307 GB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004461/5.242, allocations: 4.969 MB / 2.949 GB, free: 0.8262 GB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00672/5.249, allocations: 6.692 MB / 2.956 GB, free: 0.8212 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-05/5.249, allocations: 19.25 kB / 2.956 GB, free: 0.8212 GB / 1.607 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01433/5.264, allocations: 7.983 MB / 2.964 GB, free: 0.8173 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/5.264, allocations: 34.94 kB / 2.964 GB, free: 0.8173 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/5.264, allocations: 73.59 kB / 2.964 GB, free: 0.8173 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/5.264, allocations: 103.3 kB / 2.964 GB, free: 0.8173 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/5.268, allocations: 1.37 MB / 2.965 GB, free: 0.817 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/5.268, allocations: 150.7 kB / 2.965 GB, free: 0.817 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009727/5.278, allocations: 1.255 MB / 2.967 GB, free: 0.8161 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009059/5.279, allocations: 374 kB / 2.967 GB, free: 0.816 GB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.006729/5.285, allocations: 3.398 MB / 2.97 GB, free: 0.8139 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004587/5.29, allocations: 1.63 MB / 2.972 GB, free: 0.813 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/5.303, allocations: 7.542 MB / 2.979 GB, free: 0.8092 GB / 1.607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001764/5.303, allocations: 78.19 kB / 2.979 GB, free: 0.8091 GB / 1.607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.397e-05/5.303, allocations: 10.22 kB / 2.979 GB, free: 0.8091 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003639/5.307, allocations: 3.845 MB / 2.983 GB, free: 0.8062 GB / 1.607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04211/5.349, allocations: 28.5 MB / 3.011 GB, free: 0.7786 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001155/5.349, allocations: 32 kB / 3.011 GB, free: 0.7786 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/5.352, allocations: 0.7723 MB / 3.012 GB, free: 0.7778 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.009e-05/5.352, allocations: 52 kB / 3.012 GB, free: 0.7778 GB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004781/5.352, allocations: 159.6 kB / 3.012 GB, free: 0.7776 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.569e-05/5.352, allocations: 71.78 kB / 3.012 GB, free: 0.7776 GB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/5.352, allocations: 51.27 kB / 3.012 GB, free: 0.7775 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/5.367, allocations: 11.92 MB / 3.024 GB, free: 0.7654 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006404/5.373, allocations: 2.833 MB / 3.026 GB, free: 0.7626 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003903/5.377, allocations: 157.2 kB / 3.027 GB, free: 0.7624 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008011/5.385, allocations: 212.3 kB / 3.027 GB, free: 0.7622 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/5.386, allocations: 403.1 kB / 3.027 GB, free: 0.7618 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000611/5.386, allocations: 259.8 kB / 3.027 GB, free: 0.7616 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.02103/5.407, allocations: 11.59 MB / 3.039 GB, free: 0.7504 GB / 1.607 GB Notification: Performance of sort global known variables: time 3e-07/5.407, allocations: 2.781 kB / 3.039 GB, free: 0.7504 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.0171/5.424, allocations: 5.296 MB / 3.044 GB, free: 0.7454 GB / 1.607 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.02372/5.448, allocations: 16.85 MB / 3.06 GB, free: 0.7289 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.007853/5.456, allocations: 5.521 MB / 3.066 GB, free: 0.7235 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 3.435e-05/5.456, allocations: 11.91 kB / 3.066 GB, free: 0.7235 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.003134/5.459, allocations: 2.578 MB / 3.068 GB, free: 0.721 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0447/5.504, allocations: 10.03 MB / 3.078 GB, free: 0.7119 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1736/5.677, allocations: 114.6 MB / 3.19 GB, free: 0.596 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/5.689, allocations: 7.438 MB / 3.197 GB, free: 0.5887 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.01404/5.703, allocations: 3.161 MB / 3.2 GB, free: 0.5858 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009849/5.712, allocations: 7.826 MB / 3.208 GB, free: 0.5782 GB / 1.607 GB Notification: Performance of SimCode: time 9.62e-07/5.712, allocations: 0 / 3.208 GB, free: 0.5782 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5374/6.25, allocations: 0.4893 GB / 3.697 GB, free: 92.61 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.76/65.01, allocations: 7.875 kB / 3.697 GB, free: 92.6 MB / 1.607 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)