Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001233/0.001233, allocations: 79.69 kB / 21.74 MB, free: 2.508 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.001318/0.001318, allocations: 178.6 kB / 25.18 MB, free: 8.887 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.9464/0.9464, allocations: 177.1 MB / 205.6 MB, free: 5.352 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.949/1.949, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7756 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.22e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001902/0.001924, allocations: 0.815 MB / 0.7764 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.003528, allocations: 1.284 MB / 0.7776 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.003589, allocations: 4 kB / 0.7776 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.003639, allocations: 11.81 kB / 0.7776 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.003731, allocations: 26.36 kB / 0.7776 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.004297, allocations: 232.2 kB / 0.7779 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.004588, allocations: 255.6 kB / 0.7781 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.004725, allocations: 49.86 kB / 0.7782 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.004915, allocations: 151.7 kB / 0.7783 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.005099, allocations: 71.81 kB / 0.7784 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.00514, allocations: 22.75 kB / 0.7784 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.005238, allocations: 39.92 kB / 0.7784 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.005276, allocations: 35.89 kB / 0.7785 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.005353, allocations: 63.88 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.005586, allocations: 187.4 kB / 0.7787 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005588, allocations: 0 / 0.7787 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.02e-07/0.005589, allocations: 0 / 0.7787 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005593, allocations: 0 / 0.7787 GB, free: 2.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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004731/0.006066, allocations: 406.2 kB / 0.7791 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.006104, allocations: 9.344 kB / 0.7791 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.00616, allocations: 32.91 kB / 0.7791 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.006339, allocations: 137.6 kB / 0.7793 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.006357, allocations: 12.38 kB / 0.7793 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.006392, allocations: 28.36 kB / 0.7793 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.006519, allocations: 85.66 kB / 0.7794 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.006528, allocations: 192 / 0.7794 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.00654, allocations: 5.062 kB / 0.7794 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006549, allocations: 4.375 kB / 0.7794 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.006595, allocations: 28.48 kB / 0.7794 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.007003, allocations: 269.3 kB / 0.7797 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.00714, allocations: 91.02 kB / 0.7798 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.007181, allocations: 33.69 kB / 0.7798 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.007189, allocations: 7.938 kB / 0.7798 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.007371, allocations: 161.4 kB / 0.78 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.007373, allocations: 0.6562 kB / 0.78 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002579/0.007631, allocations: 178.1 kB / 0.7801 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.007674, allocations: 65.06 kB / 0.7802 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.007774, allocations: 156.1 kB / 0.7803 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.007803, allocations: 41.7 kB / 0.7804 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.007861, allocations: 109 kB / 0.7805 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.007908, allocations: 75.45 kB / 0.7806 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.008017, allocations: 90.81 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.008103, allocations: 334.8 kB / 0.781 GB, free: 340 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.008221, allocations: 120.7 kB / 0.7811 GB, free: 208 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.008393, allocations: 187 kB / 0.7813 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.008597, allocations: 239.4 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.008603, allocations: 8.891 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004693/0.009072, allocations: 370.9 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.009125, allocations: 67.39 kB / 0.7819 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.009132, allocations: 0 / 0.7819 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.009146, allocations: 4.5 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.009189, allocations: 24.97 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.009197, allocations: 4 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.009422, allocations: 60.45 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.009454, allocations: 21.11 kB / 0.782 GB, free: 15.13 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: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0001077/0.009562, allocations: 154.9 kB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.009592, allocations: 19.98 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.009633, allocations: 26.45 kB / 0.7822 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.009636, allocations: 1.438 kB / 0.7822 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009638, allocations: 4 kB / 0.7822 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009642, allocations: 0 / 0.7822 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.01005, allocations: 380.5 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01006, allocations: 0 / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.01008, allocations: 15.98 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01008, allocations: 0.5 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01009, allocations: 4 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01009, allocations: 12.95 kB / 0.7826 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01009, allocations: 0 / 0.7826 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.01027, allocations: 241.7 kB / 0.7828 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.01029, allocations: 17.2 kB / 0.7829 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01031, allocations: 8 kB / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.01036, allocations: 4 kB / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.0104, allocations: 25.23 kB / 0.7829 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.01042, allocations: 8 kB / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.01044, allocations: 31.8 kB / 0.7829 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01044, allocations: 0 / 0.7829 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002457/0.01069, allocations: 61.39 kB / 0.783 GB, free: 14.1 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: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000123/0.01081, allocations: 103.6 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.01114, allocations: 369.6 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.01115, allocations: 4 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.01123, allocations: 69.53 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01144, allocations: 32.91 kB / 0.7835 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.01186, allocations: 320.6 kB / 0.7839 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.01194, allocations: 110.3 kB / 0.784 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.01208, allocations: 106.1 kB / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of SimCode: time 1.203e-06/0.01208, allocations: 0 / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.003668/0.01575, allocations: 2.564 MB / 0.7866 GB, free: 10.47 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.684473330155015]