Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.4 MB / 304.3 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 0.6316 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009046, allocations: 94.3 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 22.7 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox): time 0.7662/1.012, allocations: 191.7 MB / 1.168 GB, free: 8.047 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.07033/1.083, allocations: 44.68 MB / 1.212 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01272/1.095, allocations: 211.6 kB / 1.212 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.008498/1.104, allocations: 1.666 MB / 1.213 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01738/1.121, allocations: 4.754 MB / 1.218 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01454/1.136, allocations: 3.548 MB / 1.222 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02265/1.158, allocations: 12.63 MB / 1.234 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007872/1.166, allocations: 3.62 MB / 1.237 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/1.177, allocations: 3.913 MB / 1.241 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/1.184, allocations: 3.084 MB / 1.244 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/1.186, allocations: 180 kB / 1.244 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/1.193, allocations: 1.965 MB / 1.246 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001925/1.195, allocations: 0.9103 MB / 1.247 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004872/1.2, allocations: 2.12 MB / 1.249 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009883/1.209, allocations: 6.442 MB / 1.256 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.209, allocations: 0 / 1.256 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.582e-06/1.209, allocations: 4 kB / 1.256 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002593/1.21, allocations: 0 / 1.256 GB, free: 7.074 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.01018/1.22, allocations: 4.266 MB / 1.26 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.22, allocations: 16.03 kB / 1.26 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/1.223, allocations: 0.7789 MB / 1.261 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007665/1.231, allocations: 3.629 MB / 1.264 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007876/1.232, allocations: 353.9 kB / 1.264 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004941/1.232, allocations: 288 kB / 1.265 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005993/1.238, allocations: 3.134 MB / 1.268 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/1.238, allocations: 3.906 kB / 1.268 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/1.239, allocations: 115.9 kB / 1.268 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/1.239, allocations: 68 kB / 1.268 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/1.244, allocations: 2.541 MB / 1.27 GB, free: 7.586 MB / 0.7917 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.02437/1.269, allocations: 17.11 MB / 1.287 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/1.272, allocations: 2.119 MB / 1.289 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/1.274, allocations: 0.9258 MB / 1.29 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007945/1.282, allocations: 4.255 MB / 1.294 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/1.284, allocations: 1.076 MB / 1.295 GB, free: 12.45 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002531/1.286, allocations: 0.5216 MB / 1.296 GB, free: 11.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 6.091e-06/1.286, allocations: 0 / 1.296 GB, free: 11.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.01815/1.304, allocations: 6.966 MB / 1.303 GB, free: 4.801 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.305, allocations: 132.1 kB / 1.303 GB, free: 4.648 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.31, allocations: 3.306 MB / 1.306 GB, free: 1.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005087/1.311, allocations: 81.7 kB / 1.306 GB, free: 1.234 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.313, allocations: 1.887 MB / 1.308 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/1.313, allocations: 445.8 kB / 1.308 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.314, allocations: 44 kB / 1.308 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.314, allocations: 394.4 kB / 1.309 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/1.316, allocations: 0.8945 MB / 1.31 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.318, allocations: 1.748 MB / 1.311 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/1.322, allocations: 2.469 MB / 1.314 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.322, allocations: 4 kB / 1.314 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.006369/1.328, allocations: 3.159 MB / 1.317 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005747/1.329, allocations: 0.7705 MB / 1.318 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/1.329, allocations: 24 kB / 1.318 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.332, allocations: 0.6165 MB / 1.318 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/1.333, allocations: 455.2 kB / 1.319 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.344, allocations: 7.731 MB / 1.326 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/1.348, allocations: 336.5 kB / 1.327 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/1.348, allocations: 127.9 kB / 1.327 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.348, allocations: 4 kB / 1.327 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005501/1.354, allocations: 2.798 MB / 1.329 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.354, allocations: 28.88 kB / 1.329 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.356, allocations: 0.6113 MB / 1.33 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.358, allocations: 459.3 kB / 1.33 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009861/1.368, allocations: 7.701 MB / 1.338 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.372, allocations: 304.8 kB / 1.338 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/1.372, allocations: 127.9 kB / 1.338 GB, free: 14.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.floSwiBox.con.truFalHol.onDel1.u,$PRE.floSwiBox.con.truFalHol.onDel2.u,$PRE.floSwiBox.con.truFalHol.toTrue.enableFire,$PRE.floSwiBox.con.truFalHol.toFalse.enableFire,$PRE.floSwiBox.con.truFalHol.toTrue1.enableFire,$PRE.floSwiBox.con.truFalHol.toFalse1.enableFire,$whenCondition7,$PRE.setMasFlo2.nextTimeEvent,$whenCondition4,$PRE.floSwiBox.con.truFalHol.onDel2.t_next,$whenCondition1,$PRE.floSwiBox.con.truFalHol.onDel1.t_next,floSwiBox.con.truFalHol.onDel2.t_next,floSwiBox.con.truFalHol.onDel1.t_next,floSwiBox.con.truFalHol.stateGraphRoot.resume,floSwiBox.con.truFalHol.stateGraphRoot.suspend,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,floSwiBox.con.truFalHol.u,floSwiBox.con.truFalHol.onDel1.u,floSwiBox.con.truFalHol.onDel1.y,floSwiBox.con.truFalHol.onDel2.u,floSwiBox.con.truFalHol.onDel2.y,floSwiBox.con.truFalHol.stateGraphRoot.activeSteps,$PRE.floSwiBox.con.truFalHol.outputFalse.localActive,floSwiBox.con.truFalHol.outputFalse.localActive,floSwiBox.con.truFalHol.outputFalse.inPort[2].occupied,$PRE.floSwiBox.con.truFalHol.outputFalse.newActive,floSwiBox.con.truFalHol.outputFalse.newActive,$PRE.floSwiBox.con.truFalHol.outputFalse.oldActive,floSwiBox.con.truFalHol.outputFalse.oldActive,floSwiBox.con.truFalHol.outputFalse.active,floSwiBox.con.truFalHol.toTrue.localCondition,floSwiBox.con.truFalHol.toTrue.enableFire,$PRE.floSwiBox.con.truFalHol.outputTrue.localActive,floSwiBox.con.truFalHol.outputTrue.localActive,floSwiBox.con.truFalHol.outputTrue.inPort[2].occupied,$PRE.floSwiBox.con.truFalHol.outputTrue.newActive,floSwiBox.con.truFalHol.outputTrue.newActive,$PRE.floSwiBox.con.truFalHol.outputTrue.oldActive,floSwiBox.con.truFalHol.outputTrue.oldActive,floSwiBox.con.truFalHol.outputTrue.active,floSwiBox.con.truFalHol.toFalse.localCondition,floSwiBox.con.truFalHol.toFalse.enableFire,floSwiBox.con.truFalHol.initialStep.active,$PRE.floSwiBox.con.truFalHol.initialStep.localActive,floSwiBox.con.truFalHol.initialStep.localActive,floSwiBox.con.truFalHol.initialStep.outPort[2].available,$PRE.floSwiBox.con.truFalHol.initialStep.newActive,floSwiBox.con.truFalHol.initialStep.newActive,$PRE.floSwiBox.con.truFalHol.initialStep.oldActive,floSwiBox.con.truFalHol.initialStep.oldActive,floSwiBox.con.truFalHol.toTrue1.enableFire,floSwiBox.con.truFalHol.toFalse1.enableFire,setMasFlo2.nextTimeEvent,$PRE.setMasFlo2.nextTimeEventScaled,setMasFlo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 253 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.00215/1.374, allocations: 0.9585 MB / 1.339 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000761/1.375, allocations: 359.4 kB / 1.34 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/1.38, allocations: 2.54 MB / 1.342 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003956/1.384, allocations: 2.186 MB / 1.344 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.384, allocations: 3.984 kB / 1.344 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.387, allocations: 0.664 MB / 1.345 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005776/1.387, allocations: 40 kB / 1.345 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.389, allocations: 242.3 kB / 1.345 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.39, allocations: 153.8 kB / 1.345 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004973/1.395, allocations: 2.289 MB / 1.348 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006062/1.401, allocations: 3.379 MB / 1.351 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001515/1.402, allocations: 0.8861 MB / 1.352 GB, free: 340 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003938/1.406, allocations: 2.173 MB / 1.354 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of Backend: time 9.92e-07/1.406, allocations: 0 / 1.354 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.419, allocations: 5.084 MB / 1.359 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01849/1.438, allocations: 8.867 MB / 1.367 GB, free: 244 kB / 0.8855 GB Notification: Performance of Templates: time 0.6172/2.055, allocations: 80.47 MB / 1.446 GB, free: 338.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe 2>&1)