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.00124/0.00124, allocations: 106.9 kB / 16.37 MB, free: 6.48 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.001332/0.001332, allocations: 192.4 kB / 17.31 MB, free: 5.82 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.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001504/0.001504, allocations: 70.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.304/4.556, allocations: 1.349 GB / 2.134 GB, free: 49.72 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.4226/4.979, allocations: 329.5 MB / 2.456 GB, free: 5.176 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06504/5.044, allocations: 1.141 MB / 2.457 GB, free: 4.027 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.0468/5.091, allocations: 12.96 MB / 2.469 GB, free: 6.984 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.1172/5.208, allocations: 32.06 MB / 2.501 GB, free: 6.816 MB / 1.389 GB Notification: Performance of NFTyping.typeClassSections: time 0.05421/5.262, allocations: 18.95 MB / 2.519 GB, free: 4.105 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.0897/5.352, allocations: 56.54 MB / 2.574 GB, free: 11.41 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 2.235/7.587, allocations: 22.49 MB / 2.596 GB, free: 24.85 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07744/7.665, allocations: 24.83 MB / 2.621 GB, free: 24.76 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04774/7.712, allocations: 17.64 MB / 2.638 GB, free: 21.59 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.01316/7.726, allocations: 2.07 MB / 2.64 GB, free: 21.59 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05889/7.784, allocations: 17.91 MB / 2.657 GB, free: 21.57 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01473/7.799, allocations: 4.747 MB / 2.662 GB, free: 20.84 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.04033/7.84, allocations: 10.9 MB / 2.673 GB, free: 17.96 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.09055/7.93, allocations: 41.45 MB / 2.713 GB, free: 14.85 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/7.93, allocations: 0 / 2.713 GB, free: 14.85 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.895e-06/7.93, allocations: 0 / 2.713 GB, free: 14.85 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.001536/7.932, allocations: 2.375 kB / 2.713 GB, free: 14.85 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.08138/8.013, allocations: 20.51 MB / 2.733 GB, free: 6.656 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/8.013, allocations: 9.5 kB / 2.733 GB, free: 6.656 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/8.026, allocations: 2.191 MB / 2.735 GB, free: 5.617 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04327/8.069, allocations: 18.21 MB / 2.753 GB, free: 2.809 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001268/8.07, allocations: 0.9522 MB / 2.754 GB, free: 2.777 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006483/8.077, allocations: 1.255 MB / 2.755 GB, free: 2.773 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05054/8.127, allocations: 14.09 MB / 2.769 GB, free: 388 kB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000828/8.128, allocations: 46.86 kB / 2.769 GB, free: 384 kB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004936/8.133, allocations: 0.5086 MB / 2.77 GB, free: 384 kB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/8.134, allocations: 340.7 kB / 2.77 GB, free: 380 kB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/8.158, allocations: 9.706 MB / 2.779 GB, free: 312 kB / 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.112/8.27, allocations: 72.3 MB / 2.85 GB, free: 2.402 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/8.278, allocations: 4.554 MB / 2.854 GB, free: 1.223 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/8.282, allocations: 2.444 MB / 2.857 GB, free: 0.7109 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08874/8.371, allocations: 51.66 MB / 2.907 GB, free: 14.79 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/8.371, allocations: 124.8 kB / 2.907 GB, free: 14.71 MB / 1.576 GB Notification: Performance of pre-optimization done (n=412): time 7.104e-06/8.371, allocations: 0 / 2.907 GB, free: 14.71 MB / 1.576 GB Notification: Performance of matching and sorting (n=412): time 0.02123/8.392, allocations: 6.954 MB / 2.914 GB, free: 9.648 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000392/8.393, allocations: 0.7932 MB / 2.915 GB, free: 8.688 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0476/8.44, allocations: 16.27 MB / 2.931 GB, free: 13.52 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001876/8.442, allocations: 144.4 kB / 2.931 GB, free: 13.44 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01343/8.456, allocations: 8.23 MB / 2.939 GB, free: 10.01 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003568/8.459, allocations: 1.449 MB / 2.94 GB, free: 8.777 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004229/8.464, allocations: 1.427 MB / 2.942 GB, free: 7.883 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001007/8.464, allocations: 305.1 kB / 2.942 GB, free: 7.582 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/8.467, allocations: 2.02 MB / 2.944 GB, free: 6.332 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/8.474, allocations: 4.979 MB / 2.949 GB, free: 1.223 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009815/8.484, allocations: 6.677 MB / 2.955 GB, free: 11.88 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/8.484, allocations: 20 kB / 2.955 GB, free: 11.86 MB / 1.608 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0242/8.509, allocations: 7.988 MB / 2.963 GB, free: 6.305 MB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/8.509, allocations: 36 kB / 2.963 GB, free: 6.27 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/8.509, allocations: 72 kB / 2.963 GB, free: 6.199 MB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/8.509, allocations: 104 kB / 2.963 GB, free: 6.098 MB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006/8.515, allocations: 1.37 MB / 2.965 GB, free: 4.852 MB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002123/8.515, allocations: 150.8 kB / 2.965 GB, free: 4.734 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01578/8.531, allocations: 1.263 MB / 2.966 GB, free: 3.465 MB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/8.534, allocations: 367.8 kB / 2.966 GB, free: 3.105 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.01275/8.546, allocations: 3.407 MB / 2.97 GB, free: 15.79 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007489/8.554, allocations: 1.636 MB / 2.971 GB, free: 14.13 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/8.574, allocations: 7.543 MB / 2.979 GB, free: 6.836 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002361/8.574, allocations: 75.95 kB / 2.979 GB, free: 6.762 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.662e-05/8.574, allocations: 8 kB / 2.979 GB, free: 6.754 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006396/8.58, allocations: 3.849 MB / 2.983 GB, free: 2.609 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0745/8.655, allocations: 28.5 MB / 3.01 GB, free: 5.988 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001901/8.655, allocations: 36 kB / 3.01 GB, free: 5.953 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003811/8.659, allocations: 0.7754 MB / 3.011 GB, free: 5.227 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/8.659, allocations: 48.59 kB / 3.011 GB, free: 5.18 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/8.66, allocations: 156 kB / 3.011 GB, free: 5.027 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001008/8.66, allocations: 73.75 kB / 3.012 GB, free: 4.969 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.73e-05/8.661, allocations: 52.12 kB / 3.012 GB, free: 4.93 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02354/8.684, allocations: 11.92 MB / 3.023 GB, free: 8.453 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/8.695, allocations: 2.825 MB / 3.026 GB, free: 5.586 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007234/8.702, allocations: 147.7 kB / 3.026 GB, free: 5.441 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0129/8.715, allocations: 222.1 kB / 3.026 GB, free: 5.23 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/8.717, allocations: 402.2 kB / 3.027 GB, free: 4.863 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000921/8.718, allocations: 263.8 kB / 3.027 GB, free: 4.605 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03352/8.751, allocations: 11.58 MB / 3.038 GB, free: 9.113 MB / 1.686 GB Notification: Performance of sort global known variables: time 1.092e-06/8.751, allocations: 0 / 3.038 GB, free: 9.113 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.02808/8.779, allocations: 5.297 MB / 3.043 GB, free: 3.809 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.01677/8.796, allocations: 4.546 MB / 3.048 GB, free: 15.76 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.01276/8.809, allocations: 5.502 MB / 3.053 GB, free: 10.55 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 4.994e-05/8.809, allocations: 8 kB / 3.053 GB, free: 10.54 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.005352/8.814, allocations: 2.587 MB / 3.056 GB, free: 8.113 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06215/8.877, allocations: 10.04 MB / 3.066 GB, free: 14.7 MB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06785/8.945, allocations: 27.39 MB / 3.092 GB, free: 2.957 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01898/8.964, allocations: 7.286 MB / 3.099 GB, free: 11.64 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/8.968, allocations: 1.097 MB / 3.101 GB, free: 10.54 MB / 1.748 GB Notification: Performance of SimCode: time 1.593e-06/8.968, allocations: 4 kB / 3.101 GB, free: 10.54 MB / 1.748 GB Notification: Performance of Templates: time 1.112/10.08, allocations: 316.5 MB / 3.41 GB, free: 1.033 GB / 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 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)