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.0009279/0.0009279, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009326/0.0009326, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9735/0.9735, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.994/1.994, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] 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 2.875e-06/2.875e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.738e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00255/0.002588, allocations: 0.7735 MB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.004429, allocations: 1.286 MB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.004497, allocations: 4.906 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.004545, allocations: 11.86 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004646, allocations: 15.45 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.005427, allocations: 248.2 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.005767, allocations: 254.2 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.005975, allocations: 53.48 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.006275, allocations: 147.8 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.006446, allocations: 71.81 kB / 0.778 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.006491, allocations: 20 kB / 0.778 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.006588, allocations: 35.98 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.006631, allocations: 31.89 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.006717, allocations: 71.81 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.007006, allocations: 187.4 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007009, allocations: 3.469 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00701, allocations: 0 / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.007015, allocations: 0 / 0.7783 GB, free: 2.25 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.0005777/0.007593, allocations: 407.6 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.007639, allocations: 9.344 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.00771, allocations: 32.91 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007932, allocations: 137.6 kB / 0.7788 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.007955, allocations: 12.38 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.007996, allocations: 24.92 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.008141, allocations: 89.03 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.008151, allocations: 4.031 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.008165, allocations: 4.375 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.008174, allocations: 4.375 kB / 0.779 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.008226, allocations: 27.92 kB / 0.779 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.008706, allocations: 267.9 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.008892, allocations: 89.83 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.008924, allocations: 28.84 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.008934, allocations: 6.891 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.009101, allocations: 163.9 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.009103, allocations: 0 / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002402/0.009343, allocations: 178.1 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.009381, allocations: 59.34 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.009471, allocations: 165.5 kB / 0.7799 GB, free: 464 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.009506, allocations: 41.7 kB / 0.78 GB, free: 416 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.00956, allocations: 105.5 kB / 0.7801 GB, free: 308 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.0096, allocations: 75.92 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.009693, allocations: 94 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.00978, allocations: 335.7 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.00987, allocations: 112.2 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.009981, allocations: 189.8 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.01013, allocations: 241.2 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.01014, allocations: 3.938 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002471/0.01038, allocations: 362.3 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.01043, allocations: 69.17 kB / 0.7815 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01043, allocations: 4 kB / 0.7815 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01045, allocations: 0 / 0.7815 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.01048, allocations: 19.92 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01048, allocations: 7.938 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01067, allocations: 58.09 kB / 0.7816 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.01069, allocations: 19.98 kB / 0.7816 GB, free: 14.61 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.165e-05/0.01078, allocations: 150.6 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.0108, allocations: 24.84 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.01084, allocations: 21.97 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01084, allocations: 4.562 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01084, allocations: 0.5312 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01085, allocations: 3.984 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.01119, allocations: 376.2 kB / 0.7821 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01119, allocations: 1.312 kB / 0.7821 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.0112, allocations: 11.94 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.0112, allocations: 4 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.01121, allocations: 4 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01121, allocations: 0.5938 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.01122, allocations: 8.516 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.01135, allocations: 237.7 kB / 0.7824 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.01137, allocations: 20.91 kB / 0.7824 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01138, allocations: 4 kB / 0.7824 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.01142, allocations: 12.98 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.01145, allocations: 19.91 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.01147, allocations: 8 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.01149, allocations: 28.58 kB / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000189/0.01168, allocations: 67.94 kB / 0.7826 GB, free: 13.58 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.000131/0.01181, allocations: 100.1 kB / 0.7826 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.01207, allocations: 361.6 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01207, allocations: 5.094 kB / 0.783 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.01213, allocations: 72.75 kB / 0.7831 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.0123, allocations: 37.36 kB / 0.7831 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.01264, allocations: 302.8 kB / 0.7834 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.01268, allocations: 72.95 kB / 0.7835 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.01273, allocations: 24 kB / 0.7835 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.01284, allocations: 103.3 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01284, allocations: 0 / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.004348/0.01719, allocations: 3.049 MB / 0.7866 GB, free: 9.559 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.171754023991525]