Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.0009706/0.0009706, allocations: 84.8 kB / 21.62 MB, free: 2.836 MB / 18.57 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.001057/0.001057, allocations: 171 kB / 25.05 MB, free: 9.156 MB / 18.57 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 0.9277/0.9277, allocations: 177.1 MB / 205.5 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.885/1.885, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0.6562 kB / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.321e-05, allocations: 4.5 kB / 0.7762 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00174/0.001763, allocations: 0.8731 MB / 0.777 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003021, allocations: 1.334 MB / 0.7783 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.003075, allocations: 4 kB / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.003117, allocations: 11.86 kB / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.003205, allocations: 22.39 kB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.003789, allocations: 307.2 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.004037, allocations: 300 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.004131, allocations: 38.19 kB / 0.779 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004284, allocations: 159.8 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004405, allocations: 91.77 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.004438, allocations: 24 kB / 0.7792 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.00452, allocations: 36 kB / 0.7793 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.004543, allocations: 19.92 kB / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.00461, allocations: 95.84 kB / 0.7794 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.004815, allocations: 224 kB / 0.7796 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004817, allocations: 0 / 0.7796 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004818, allocations: 0.6875 kB / 0.7796 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004822, allocations: 0 / 0.7796 GB, free: 1.789 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004212/0.005243, allocations: 433.9 kB / 0.78 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.005276, allocations: 9.969 kB / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.005322, allocations: 28.91 kB / 0.78 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005479, allocations: 143.5 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.005501, allocations: 12.38 kB / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.005528, allocations: 20.86 kB / 0.7802 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.005624, allocations: 95.2 kB / 0.7803 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005632, allocations: 0 / 0.7803 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.005642, allocations: 8 kB / 0.7803 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005647, allocations: 0.9375 kB / 0.7803 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.005676, allocations: 19.98 kB / 0.7803 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.005985, allocations: 261.1 kB / 0.7806 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006109, allocations: 50.53 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.006129, allocations: 13.39 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.006137, allocations: 4 kB / 0.7806 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.006248, allocations: 104.6 kB / 0.7807 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.006251, allocations: 3.984 kB / 0.7807 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001507/0.006401, allocations: 110.1 kB / 0.7808 GB, free: 400 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.006429, allocations: 51.41 kB / 0.7809 GB, free: 336 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.006509, allocations: 152.4 kB / 0.781 GB, free: 172 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.006533, allocations: 37.7 kB / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.006583, allocations: 117 kB / 0.7812 GB, free: 8 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.006619, allocations: 32.66 kB / 0.7812 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.006696, allocations: 73.58 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.006767, allocations: 324.4 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.006874, allocations: 152.9 kB / 0.7817 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.006991, allocations: 199.9 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.007137, allocations: 224.9 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007139, allocations: 1.594 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002688/0.007408, allocations: 390.1 kB / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.007459, allocations: 102.4 kB / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007464, allocations: 0 / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.007474, allocations: 7.75 kB / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.007515, allocations: 16.59 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00752, allocations: 4 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.007693, allocations: 70.02 kB / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.007713, allocations: 15.98 kB / 0.7827 GB, free: 14.27 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 7.5e-05/0.007788, allocations: 128.1 kB / 0.7828 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.007803, allocations: 12 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.007828, allocations: 16.77 kB / 0.7829 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.007831, allocations: 3.938 kB / 0.7829 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.007833, allocations: 0 / 0.7829 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007836, allocations: 4.969 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.007921, allocations: 101.8 kB / 0.783 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007922, allocations: 0 / 0.783 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.007945, allocations: 9.312 kB / 0.783 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.007948, allocations: 0 / 0.783 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.007957, allocations: 0 / 0.783 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007959, allocations: 1.031 kB / 0.783 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007961, allocations: 7.938 kB / 0.783 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.008064, allocations: 117 kB / 0.7831 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.008075, allocations: 13.28 kB / 0.7831 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.008083, allocations: 3.938 kB / 0.7831 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.008102, allocations: 8 kB / 0.7831 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.008128, allocations: 15.91 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.008133, allocations: 1.5 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.008156, allocations: 30.72 kB / 0.7832 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008156, allocations: 0 / 0.7832 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001516/0.008308, allocations: 55.92 kB / 0.7832 GB, free: 13.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001138/0.008422, allocations: 90.22 kB / 0.7833 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.008953, allocations: 396.5 kB / 0.7837 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.008957, allocations: 0.5312 kB / 0.7837 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.008995, allocations: 44.05 kB / 0.7837 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.009125, allocations: 32.23 kB / 0.7838 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.009411, allocations: 235.5 kB / 0.784 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.009444, allocations: 67.33 kB / 0.7841 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.009473, allocations: 12.02 kB / 0.7841 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.009597, allocations: 103.3 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.009598, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.004725/0.01432, allocations: 3.277 MB / 0.7874 GB, free: 9.551 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.796934361569583]