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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 100.4 kB / 16.29 MB, free: 6.117 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.001164/0.001164, allocations: 179.7 kB / 17.22 MB, free: 5.734 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001399/0.001399, allocations: 67.89 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2516, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.377/3.629, allocations: 1.349 GB / 2.133 GB, free: 49.67 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.3887/4.017, allocations: 329.5 MB / 2.455 GB, free: 5.43 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05399/4.071, allocations: 1.138 MB / 2.456 GB, free: 4.285 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.03903/4.111, allocations: 12.96 MB / 2.469 GB, free: 7.242 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.1069/4.218, allocations: 32.08 MB / 2.5 GB, free: 7.066 MB / 1.389 GB Notification: Performance of NFTyping.typeClassSections: time 0.05044/4.268, allocations: 18.95 MB / 2.518 GB, free: 4.336 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.07966/4.348, allocations: 56.54 MB / 2.574 GB, free: 11.64 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 1.902/6.25, allocations: 22.48 MB / 2.596 GB, free: 25.26 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07762/6.328, allocations: 24.83 MB / 2.62 GB, free: 25.16 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04356/6.371, allocations: 17.64 MB / 2.637 GB, free: 21.99 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.01076/6.382, allocations: 2.071 MB / 2.639 GB, free: 21.99 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05262/6.435, allocations: 17.84 MB / 2.657 GB, free: 21.98 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01347/6.448, allocations: 4.74 MB / 2.661 GB, free: 21.26 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.03188/6.48, allocations: 10.91 MB / 2.672 GB, free: 18.38 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.08651/6.567, allocations: 41.45 MB / 2.712 GB, free: 15.26 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/6.567, allocations: 1.125 kB / 2.712 GB, free: 15.26 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.505e-06/6.567, allocations: 2.719 kB / 2.712 GB, free: 15.26 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.001452/6.568, allocations: 0 / 2.712 GB, free: 15.26 MB / 1.467 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.07641/6.645, allocations: 20.5 MB / 2.732 GB, free: 7.074 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/6.645, allocations: 11.38 kB / 2.732 GB, free: 7.074 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/6.66, allocations: 2.191 MB / 2.734 GB, free: 6.035 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04565/6.706, allocations: 17.04 MB / 2.751 GB, free: 3.41 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/6.707, allocations: 0.9495 MB / 2.752 GB, free: 3.383 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006031/6.713, allocations: 1.256 MB / 2.753 GB, free: 3.379 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04952/6.763, allocations: 14.09 MB / 2.767 GB, free: 0.9805 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000795/6.763, allocations: 47.81 kB / 2.767 GB, free: 0.9766 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004929/6.768, allocations: 0.5087 MB / 2.768 GB, free: 0.9766 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/6.769, allocations: 344.3 kB / 2.768 GB, free: 0.9727 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/6.793, allocations: 9.703 MB / 2.777 GB, free: 0.9062 MB / 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.1056/6.899, allocations: 72.32 MB / 2.848 GB, free: 3.512 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/6.906, allocations: 4.552 MB / 2.852 GB, free: 2.336 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/6.91, allocations: 2.439 MB / 2.855 GB, free: 1.824 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08441/6.994, allocations: 51.48 MB / 2.905 GB, free: 0.7734 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/6.994, allocations: 124.5 kB / 2.905 GB, free: 0.6953 MB / 1.561 GB Notification: Performance of pre-optimization done (n=412): time 7.154e-06/6.994, allocations: 0 / 2.905 GB, free: 0.6953 MB / 1.561 GB Notification: Performance of matching and sorting (n=412): time 0.02281/7.017, allocations: 6.955 MB / 2.912 GB, free: 11.64 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006363/7.018, allocations: 0.7877 MB / 2.913 GB, free: 10.68 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0387/7.057, allocations: 16.27 MB / 2.929 GB, free: 15.51 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001714/7.058, allocations: 149.4 kB / 2.929 GB, free: 15.43 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01143/7.07, allocations: 8.354 MB / 2.937 GB, free: 11.97 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003097/7.073, allocations: 1.452 MB / 2.938 GB, free: 10.73 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003193/7.076, allocations: 1.433 MB / 2.94 GB, free: 9.832 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/7.076, allocations: 305.1 kB / 2.94 GB, free: 9.531 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/7.079, allocations: 2.02 MB / 2.942 GB, free: 8.281 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006075/7.086, allocations: 4.972 MB / 2.947 GB, free: 3.18 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/7.095, allocations: 6.682 MB / 2.953 GB, free: 13.83 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.43e-05/7.095, allocations: 20 kB / 2.953 GB, free: 13.81 MB / 1.608 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0218/7.117, allocations: 7.986 MB / 2.961 GB, free: 8.066 MB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/7.117, allocations: 36 kB / 2.961 GB, free: 8.031 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/7.117, allocations: 76.12 kB / 2.961 GB, free: 7.957 MB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/7.117, allocations: 104 kB / 2.961 GB, free: 7.855 MB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/7.122, allocations: 1.371 MB / 2.963 GB, free: 6.586 MB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001395/7.122, allocations: 157 kB / 2.963 GB, free: 6.461 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/7.134, allocations: 1.25 MB / 2.964 GB, free: 5.203 MB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/7.136, allocations: 367.9 kB / 2.965 GB, free: 4.844 MB / 1.608 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.00982/7.146, allocations: 3.413 MB / 2.968 GB, free: 1.523 MB / 1.608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006335/7.153, allocations: 1.62 MB / 2.969 GB, free: 15.88 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01891/7.171, allocations: 7.541 MB / 2.977 GB, free: 8.59 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001925/7.172, allocations: 83.94 kB / 2.977 GB, free: 8.508 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.201e-05/7.172, allocations: 8 kB / 2.977 GB, free: 8.5 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004769/7.177, allocations: 3.849 MB / 2.981 GB, free: 4.352 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06022/7.237, allocations: 28.5 MB / 3.008 GB, free: 7.734 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-05/7.237, allocations: 32 kB / 3.009 GB, free: 7.703 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/7.24, allocations: 0.7723 MB / 3.009 GB, free: 6.98 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-05/7.24, allocations: 52 kB / 3.009 GB, free: 6.93 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004066/7.24, allocations: 152 kB / 3.009 GB, free: 6.781 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.331e-05/7.241, allocations: 72.28 kB / 3.01 GB, free: 6.723 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-05/7.241, allocations: 54.94 kB / 3.01 GB, free: 6.684 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/7.26, allocations: 11.92 MB / 3.021 GB, free: 10.2 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009905/7.27, allocations: 2.821 MB / 3.024 GB, free: 7.34 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006057/7.276, allocations: 152.4 kB / 3.024 GB, free: 7.191 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/7.287, allocations: 222.6 kB / 3.024 GB, free: 6.977 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/7.288, allocations: 393.9 kB / 3.025 GB, free: 6.617 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007767/7.289, allocations: 259.9 kB / 3.025 GB, free: 6.363 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03112/7.32, allocations: 11.59 MB / 3.036 GB, free: 10.86 MB / 1.686 GB Notification: Performance of sort global known variables: time 4.11e-07/7.32, allocations: 0 / 3.036 GB, free: 10.86 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.02865/7.348, allocations: 5.301 MB / 3.041 GB, free: 5.555 MB / 1.686 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.01577/7.364, allocations: 4.531 MB / 3.046 GB, free: 1.508 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.01208/7.376, allocations: 5.523 MB / 3.051 GB, free: 12.28 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 4.075e-05/7.376, allocations: 8 kB / 3.051 GB, free: 12.27 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/7.381, allocations: 2.575 MB / 3.054 GB, free: 9.859 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06033/7.442, allocations: 10.04 MB / 3.064 GB, free: 440 kB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06364/7.505, allocations: 27.46 MB / 3.09 GB, free: 4.625 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/7.522, allocations: 7.434 MB / 3.098 GB, free: 13.15 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.01894/7.541, allocations: 3.166 MB / 3.101 GB, free: 10.1 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004415/7.545, allocations: 1.052 MB / 3.102 GB, free: 9.047 MB / 1.748 GB Notification: Performance of SimCode: time 2.124e-06/7.545, allocations: 0 / 3.102 GB, free: 9.047 MB / 1.748 GB Notification: Performance of Templates: time 1.707/9.253, allocations: 357.5 MB / 3.451 GB, free: 346.4 MB / 1.873 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (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 & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)