Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.583/1.583, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.001081/0.001081, allocations: 176.5 kB / 371.8 MB, free: 10.81 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.443/1.443, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008073/0.0008073, allocations: 88.16 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003938, allocations: 15.22 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1922, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox): time 0.595/0.7872, allocations: 191.7 MB / 1.167 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06331/0.8506, allocations: 44.68 MB / 1.21 GB, free: 5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009396/0.86, allocations: 212.1 kB / 1.21 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006567/0.8666, allocations: 1.593 MB / 1.212 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.8814, allocations: 4.468 MB / 1.216 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.8922, allocations: 3.514 MB / 1.22 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01753/0.9098, allocations: 12.63 MB / 1.232 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008032/0.9178, allocations: 3.609 MB / 1.236 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009438/0.9273, allocations: 3.761 MB / 1.239 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/0.9337, allocations: 3.08 MB / 1.242 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.9355, allocations: 176 kB / 1.242 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.9424, allocations: 1.634 MB / 1.244 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.9449, allocations: 0.9142 MB / 1.245 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.9478, allocations: 0.9406 MB / 1.246 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.9571, allocations: 6.38 MB / 1.252 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9572, allocations: 0 / 1.252 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9572, allocations: 0 / 1.252 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002877/0.9575, allocations: 0 / 1.252 GB, free: 10.49 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.01032/0.9678, allocations: 4.272 MB / 1.256 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9679, allocations: 8.031 kB / 1.256 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.9715, allocations: 0.7789 MB / 1.257 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008369/0.9799, allocations: 3.641 MB / 1.261 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008586/0.9808, allocations: 361.9 kB / 1.261 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008605/0.9817, allocations: 284 kB / 1.261 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007857/0.9895, allocations: 3.13 MB / 1.264 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.533e-05/0.9896, allocations: 11.84 kB / 1.264 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/0.9901, allocations: 108 kB / 1.264 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.9902, allocations: 68 kB / 1.264 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.9966, allocations: 2.545 MB / 1.267 GB, free: 10.99 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.02266/1.019, allocations: 17.09 MB / 1.284 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.023, allocations: 2.107 MB / 1.286 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.024, allocations: 0.9405 MB / 1.287 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007533/1.032, allocations: 4.267 MB / 1.291 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/1.034, allocations: 1.072 MB / 1.292 GB, free: 15.86 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002298/1.036, allocations: 0.5177 MB / 1.292 GB, free: 15.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 5.821e-06/1.036, allocations: 0 / 1.292 GB, free: 15.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.01721/1.053, allocations: 6.974 MB / 1.299 GB, free: 8.207 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/1.053, allocations: 120.1 kB / 1.299 GB, free: 8.066 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/1.058, allocations: 3.318 MB / 1.302 GB, free: 4.727 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003331/1.059, allocations: 77.7 kB / 1.303 GB, free: 4.645 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.06, allocations: 1.887 MB / 1.304 GB, free: 2.742 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/1.061, allocations: 441.8 kB / 1.305 GB, free: 2.305 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/1.061, allocations: 44 kB / 1.305 GB, free: 2.262 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.061, allocations: 390.4 kB / 1.305 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/1.063, allocations: 0.8983 MB / 1.306 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.066, allocations: 1.754 MB / 1.308 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/1.069, allocations: 2.466 MB / 1.31 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.069, allocations: 4 kB / 1.31 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.006174/1.076, allocations: 3.151 MB / 1.313 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000518/1.076, allocations: 0.7665 MB / 1.314 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.076, allocations: 24 kB / 1.314 GB, free: 7.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/1.079, allocations: 0.6157 MB / 1.315 GB, free: 7.141 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.08, allocations: 463.2 kB / 1.315 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/1.091, allocations: 7.736 MB / 1.323 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/1.094, allocations: 324.7 kB / 1.323 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/1.095, allocations: 127.9 kB / 1.323 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.095, allocations: 4 kB / 1.323 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005464/1.1, allocations: 2.799 MB / 1.326 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.1, allocations: 23.94 kB / 1.326 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/1.103, allocations: 0.6113 MB / 1.326 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.105, allocations: 459.2 kB / 1.327 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009877/1.114, allocations: 7.714 MB / 1.334 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.118, allocations: 300.9 kB / 1.335 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/1.118, allocations: 127.9 kB / 1.335 GB, free: 1.625 MB / 0.8542 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.002067/1.12, allocations: 0.9585 MB / 1.336 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/1.121, allocations: 355.4 kB / 1.336 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/1.127, allocations: 2.543 MB / 1.339 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/1.13, allocations: 2.182 MB / 1.341 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.131, allocations: 4 kB / 1.341 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.132, allocations: 0.6679 MB / 1.341 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/1.133, allocations: 35.98 kB / 1.341 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.135, allocations: 239.4 kB / 1.342 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/1.135, allocations: 145.8 kB / 1.342 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004869/1.14, allocations: 2.293 MB / 1.344 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005653/1.146, allocations: 3.387 MB / 1.347 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001507/1.147, allocations: 0.8745 MB / 1.348 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003689/1.151, allocations: 2.173 MB / 1.35 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of Backend: time 1.724e-06/1.151, allocations: 4 kB / 1.35 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.162, allocations: 5.055 MB / 1.355 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01739/1.18, allocations: 8.874 MB / 1.364 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of Templates: time 0.5055/1.685, allocations: 79.64 MB / 1.442 GB, free: 335.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.SwitchBox.pipe 2>&1)