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.001025/0.001025, allocations: 80.94 kB / 21.54 MB, free: 2.949 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.001151/0.001151, allocations: 163.9 kB / 24.96 MB, free: 8.234 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.9867/0.9867, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.938/1.938, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.984e-06/1.984e-06, allocations: 0 / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.203e-05, allocations: 6.25 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001683/0.001705, allocations: 0.8258 MB / 0.7768 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003074, allocations: 1.282 MB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.003142, allocations: 2.156 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.003184, allocations: 15.8 kB / 0.7781 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.003269, allocations: 16.64 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.00391, allocations: 244.5 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.004231, allocations: 257.5 kB / 0.7786 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.004373, allocations: 41.92 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.004567, allocations: 160.7 kB / 0.7787 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.004706, allocations: 72.66 kB / 0.7788 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.004738, allocations: 20 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.004832, allocations: 36.8 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.004864, allocations: 31.89 kB / 0.7789 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.004924, allocations: 68.75 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.005139, allocations: 187.4 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005142, allocations: 1.438 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005143, allocations: 4 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.005146, allocations: 0 / 0.7792 GB, free: 2.176 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.0004463/0.005593, allocations: 404.3 kB / 0.7795 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.005626, allocations: 9.344 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.005673, allocations: 25.59 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.005835, allocations: 145.6 kB / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.005851, allocations: 14.09 kB / 0.7797 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.005878, allocations: 24.36 kB / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.005989, allocations: 85.03 kB / 0.7798 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005997, allocations: 192 / 0.7798 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006008, allocations: 9.344 kB / 0.7798 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006015, allocations: 4.375 kB / 0.7798 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.00605, allocations: 39.78 kB / 0.7799 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.006397, allocations: 257.6 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.006509, allocations: 89.42 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.006542, allocations: 32.84 kB / 0.7802 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.006554, allocations: 4.875 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004344/0.006988, allocations: 161.4 kB / 0.7804 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.00699, allocations: 0 / 0.7804 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002184/0.007208, allocations: 183.8 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.007242, allocations: 55.41 kB / 0.7806 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.007337, allocations: 165.1 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.007362, allocations: 33.7 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.007411, allocations: 109 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.00745, allocations: 80.27 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.007533, allocations: 90 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.007634, allocations: 335.4 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.007724, allocations: 116.2 kB / 0.7815 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.007838, allocations: 186.5 kB / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.007992, allocations: 232.8 kB / 0.7819 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.007996, allocations: 7.938 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002697/0.008266, allocations: 374.9 kB / 0.7823 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.008312, allocations: 67.39 kB / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008318, allocations: 0 / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.008334, allocations: 4.938 kB / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.654e-05/0.00837, allocations: 19.92 kB / 0.7824 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008376, allocations: 4.844 kB / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.008548, allocations: 61.62 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.00857, allocations: 19.98 kB / 0.7824 GB, free: 14.54 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 9.878e-05/0.008669, allocations: 156.4 kB / 0.7826 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.008691, allocations: 19.98 kB / 0.7826 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.008729, allocations: 21.97 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.008732, allocations: 3.938 kB / 0.7826 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008736, allocations: 4 kB / 0.7826 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.008741, allocations: 3.984 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.009079, allocations: 380.6 kB / 0.783 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009081, allocations: 0 / 0.783 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.009099, allocations: 12 kB / 0.783 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009101, allocations: 0.9375 kB / 0.783 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.00911, allocations: 3.984 kB / 0.783 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.009114, allocations: 4.719 kB / 0.783 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009116, allocations: 3.938 kB / 0.783 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.009271, allocations: 243.6 kB / 0.7833 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.009287, allocations: 15.84 kB / 0.7833 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.0093, allocations: 4 kB / 0.7833 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.009337, allocations: 7.984 kB / 0.7833 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.009376, allocations: 23.91 kB / 0.7833 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.009392, allocations: 12.83 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.009415, allocations: 24.83 kB / 0.7834 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009415, allocations: 4 kB / 0.7834 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001902/0.009606, allocations: 60.98 kB / 0.7834 GB, free: 13.5 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.0001248/0.00973, allocations: 100.1 kB / 0.7835 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01002, allocations: 365.8 kB / 0.7839 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01002, allocations: 4 kB / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.01008, allocations: 72.69 kB / 0.7839 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.01027, allocations: 29.61 kB / 0.784 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01062, allocations: 302 kB / 0.7842 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.01066, allocations: 72.95 kB / 0.7843 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.01071, allocations: 27.94 kB / 0.7843 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01083, allocations: 99.34 kB / 0.7844 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01083, allocations: 0.5 kB / 0.7844 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.004924/0.01575, allocations: 3.063 MB / 0.7874 GB, free: 9.477 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2241765931248665]