Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002334/0.002334, allocations: 213.4 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum1.m_flow_actual|pum2.m_flow_actual|senMasFlo.m_flow|floSwiBox.valSup.y_actual|floSwiBox.valRet.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox") translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum1.m_flow_actual|pum2.m_flow_actual|senMasFlo.m_flow|floSwiBox.valSup.y_actual|floSwiBox.valRet.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.25 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4468, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox): time 0.2333/0.68, allocations: 190.9 MB / 1.514 GB, free: 1.461 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.07669/0.7567, allocations: 42.47 MB / 1.555 GB, free: 6.891 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.7696, allocations: 345.1 kB / 1.555 GB, free: 6.551 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.7813, allocations: 3.21 MB / 1.558 GB, free: 3.324 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.02384/0.8052, allocations: 6.463 MB / 1.565 GB, free: 12.84 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01508/0.8202, allocations: 4.969 MB / 1.57 GB, free: 7.906 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03963/0.8599, allocations: 22.7 MB / 1.592 GB, free: 1.156 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007521/0.8674, allocations: 3.484 MB / 1.595 GB, free: 13.59 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/0.8823, allocations: 5.244 MB / 1.6 GB, free: 8.34 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.8931, allocations: 3.655 MB / 1.604 GB, free: 4.668 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.8963, allocations: 448 kB / 1.604 GB, free: 4.23 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.9065, allocations: 2.523 MB / 1.607 GB, free: 1.703 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003357/0.9099, allocations: 1.534 MB / 1.608 GB, free: 168 kB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 1.175/2.085, allocations: 2.162 MB / 1.61 GB, free: 68.26 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02381/2.109, allocations: 8.522 MB / 1.619 GB, free: 67.77 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/2.109, allocations: 0 / 1.619 GB, free: 67.77 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.054e-06/2.109, allocations: 0 / 1.619 GB, free: 67.77 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0004085/2.109, allocations: 0 / 1.619 GB, free: 67.77 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 563 * Number of variables: 563 Notification: Performance of Generate backend data structure: time 0.02544/2.135, allocations: 5.738 MB / 1.624 GB, free: 65.12 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/2.135, allocations: 10.88 kB / 1.624 GB, free: 65.12 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/2.143, allocations: 1.075 MB / 1.625 GB, free: 64.81 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/2.162, allocations: 5.364 MB / 1.631 GB, free: 63.82 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/2.163, allocations: 251.7 kB / 1.631 GB, free: 63.75 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/2.164, allocations: 247.8 kB / 1.631 GB, free: 63.75 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008523/2.173, allocations: 3.333 MB / 1.634 GB, free: 63.12 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/2.173, allocations: 4.938 kB / 1.634 GB, free: 63.12 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/2.173, allocations: 102.8 kB / 1.634 GB, free: 63.12 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/2.173, allocations: 55.38 kB / 1.635 GB, free: 63.12 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/2.18, allocations: 2.532 MB / 1.637 GB, free: 63.09 MB / 1.295 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.02949/2.209, allocations: 10.76 MB / 1.647 GB, free: 60.06 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/2.214, allocations: 1.611 MB / 1.649 GB, free: 60.03 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/2.216, allocations: 0.9279 MB / 1.65 GB, free: 60.01 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/2.228, allocations: 3.267 MB / 1.653 GB, free: 59.64 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003044/2.231, allocations: 1.641 MB / 1.655 GB, free: 59.25 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004073/2.235, allocations: 446.3 kB / 1.655 GB, free: 59.14 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 1.8e-05/2.235, allocations: 0 / 1.655 GB, free: 59.14 MB / 1.295 GB Notification: Performance of matching and sorting (n=123): time 0.03138/2.267, allocations: 8.088 MB / 1.663 GB, free: 57.39 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/2.267, allocations: 118.2 kB / 1.663 GB, free: 57.27 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/2.278, allocations: 4.324 MB / 1.667 GB, free: 56.85 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000899/2.279, allocations: 67.11 kB / 1.667 GB, free: 56.82 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003433/2.283, allocations: 2.09 MB / 1.67 GB, free: 56.23 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/2.284, allocations: 452.9 kB / 1.67 GB, free: 55.96 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003146/2.287, allocations: 0.6761 MB / 1.671 GB, free: 55.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/2.287, allocations: 301.1 kB / 1.671 GB, free: 55.61 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/2.291, allocations: 1.804 MB / 1.673 GB, free: 55.57 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/2.295, allocations: 3.07 MB / 1.676 GB, free: 54.12 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/2.302, allocations: 4.035 MB / 1.68 GB, free: 53.41 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/2.302, allocations: 8.125 kB / 1.68 GB, free: 53.41 MB / 1.295 GB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01163/2.314, allocations: 5.114 MB / 1.685 GB, free: 53 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/2.314, allocations: 11.25 kB / 1.685 GB, free: 53 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/2.314, allocations: 20.75 kB / 1.685 GB, free: 52.99 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005896/2.32, allocations: 1.046 MB / 1.686 GB, free: 52.95 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/2.323, allocations: 0.5552 MB / 1.686 GB, free: 52.95 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/2.337, allocations: 9.968 MB / 1.696 GB, free: 47.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/2.343, allocations: 202.3 kB / 1.696 GB, free: 47.79 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/2.344, allocations: 159.4 kB / 1.696 GB, free: 47.79 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007068/2.351, allocations: 2.458 MB / 1.699 GB, free: 47.69 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004401/2.355, allocations: 2.862 MB / 1.701 GB, free: 46.24 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006717/2.362, allocations: 3.619 MB / 1.705 GB, free: 45.53 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-05/2.362, allocations: 7.062 kB / 1.705 GB, free: 45.53 MB / 1.295 GB Notification: Performance of matching and sorting (n=379) (initialization_lambda0): time 0.01158/2.374, allocations: 4.687 MB / 1.71 GB, free: 45.12 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/2.374, allocations: 17.88 kB / 1.71 GB, free: 45.12 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.105e-05/2.374, allocations: 15.62 kB / 1.71 GB, free: 45.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005759/2.38, allocations: 1.042 MB / 1.711 GB, free: 45.08 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/2.383, allocations: 0.5569 MB / 1.711 GB, free: 45.07 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/2.397, allocations: 8.585 MB / 1.72 GB, free: 41.09 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006392/2.403, allocations: 213.8 kB / 1.72 GB, free: 41.08 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009951/2.404, allocations: 148.2 kB / 1.72 GB, free: 41.08 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.setMasFlo2.nextTimeEvent,$whenCondition5,setMasFlo2.nextTimeEventScaled,$PRE.setMasFlo2.nextTimeEventScaled,setMasFlo2.nextTimeEvent,floSwiBox.con.movAve.mode,$PRE.floSwiBox.con.movAve.mode,floSwiBox.con.truFalHol.entryTimeFalse,$PRE.floSwiBox.con.truFalHol.entryTimeFalse,floSwiBox.con.truFalHol.entryTimeTrue,$PRE.floSwiBox.con.truFalHol.entryTimeTrue,floSwiBox.con.truFalHol.not_y,$PRE.floSwiBox.con.truFalHol.not_y,floSwiBox.con.truFalHol.not_u,$PRE.floSwiBox.con.truFalHol.not_u,floSwiBox.con.truFalHol.y,$PRE.floSwiBox.con.truFalHol.y,floSwiBox.con.truFalHol.u,$PRE.floSwiBox.con.truFalHol.u,floSwiBox.con.posDom.greHys.y,$PRE.floSwiBox.con.posDom.greHys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 271 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of prepare postOptimizeDAE: time 0.001633/2.406, allocations: 334.9 kB / 1.72 GB, free: 40.88 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002027/2.408, allocations: 439.4 kB / 1.721 GB, free: 40.63 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009632/2.417, allocations: 2.925 MB / 1.724 GB, free: 40.44 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/2.423, allocations: 2.476 MB / 1.726 GB, free: 39.34 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/2.423, allocations: 6.5 kB / 1.726 GB, free: 39.34 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003554/2.426, allocations: 0.6163 MB / 1.727 GB, free: 38.96 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/2.428, allocations: 33.34 kB / 1.727 GB, free: 38.93 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/2.433, allocations: 137.3 kB / 1.727 GB, free: 38.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006106/2.434, allocations: 129.5 kB / 1.727 GB, free: 38.89 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008874/2.442, allocations: 2.599 MB / 1.729 GB, free: 37.96 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009269/2.452, allocations: 3.74 MB / 1.733 GB, free: 36.36 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001935/2.454, allocations: 0.875 MB / 1.734 GB, free: 36.05 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007702/2.461, allocations: 2.842 MB / 1.737 GB, free: 35.03 MB / 1.295 GB Notification: Performance of Backend: time 8.11e-07/2.461, allocations: 0 / 1.737 GB, free: 35.03 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.484, allocations: 6.77 MB / 1.743 GB, free: 32.44 MB / 1.295 GB Notification: Performance of SimCode: time 0.0246/2.509, allocations: 9.503 MB / 1.753 GB, free: 25.23 MB / 1.295 GB Notification: Performance of Templates: time 0.1884/2.697, allocations: 111.2 MB / 1.861 GB, free: 11.94 MB / 1.389 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.pipe ; mkfifo Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.pipe >> ../files/Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.sim & ./Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.162576224000077] Failed to read output from testmodel.py, exit status != 0: 2.709000457994989 2.7256018650000002 0.61268972 Calling exit ...