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.00106/0.00106, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001063/0.001063, allocations: 161 kB / 24.16 MB, free: 336 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 1.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.025/2.025, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.073e-06/2.073e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.223e-05, allocations: 6.734 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001658/0.001681, allocations: 0.8273 MB / 0.776 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003087, allocations: 1.282 MB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.003153, allocations: 1.625 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.003193, allocations: 11.81 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.003273, allocations: 21.59 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.003828, allocations: 241.7 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.004096, allocations: 257.4 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004227, allocations: 46.58 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.004404, allocations: 151.7 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.004541, allocations: 73.53 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.004573, allocations: 23.94 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.004664, allocations: 40.78 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.004696, allocations: 31.91 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.00476, allocations: 72.36 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004969, allocations: 179.4 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004972, allocations: 0.75 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004973, allocations: 4 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004977, allocations: 2.656 kB / 0.7784 GB, free: 2.152 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.0004044/0.005381, allocations: 403.6 kB / 0.7788 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.005414, allocations: 9.344 kB / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.005463, allocations: 28.91 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.005627, allocations: 141.6 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.005642, allocations: 12.38 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.005668, allocations: 27.11 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005771, allocations: 85.25 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005779, allocations: 192 / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.00579, allocations: 8.375 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.005796, allocations: 4.375 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.005834, allocations: 35.84 kB / 0.7791 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.006192, allocations: 262.4 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.006315, allocations: 90.39 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.006349, allocations: 28.84 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.006359, allocations: 4 kB / 0.7795 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.006536, allocations: 161.4 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.006538, allocations: 0 / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002471/0.006785, allocations: 182.9 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.006822, allocations: 55.41 kB / 0.7799 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.006929, allocations: 166.9 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.006959, allocations: 38.52 kB / 0.7801 GB, free: 320 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.007017, allocations: 105 kB / 0.7802 GB, free: 212 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.00706, allocations: 81.14 kB / 0.7802 GB, free: 132 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.007157, allocations: 94 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.00727, allocations: 330.8 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.007381, allocations: 116.2 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.007527, allocations: 185.4 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.008058, allocations: 240.7 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.008064, allocations: 9.062 kB / 0.7812 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003076/0.008371, allocations: 361.9 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.008427, allocations: 70.67 kB / 0.7816 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008433, allocations: 3.938 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.008451, allocations: 4.656 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.00849, allocations: 23.92 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.008496, allocations: 4.781 kB / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.008696, allocations: 52.75 kB / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.008725, allocations: 24.52 kB / 0.7817 GB, free: 14.51 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.0001228/0.008848, allocations: 147.7 kB / 0.7818 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.008878, allocations: 23.97 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.008919, allocations: 23 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008922, allocations: 0 / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.008928, allocations: 4 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.008933, allocations: 6.734 kB / 0.7819 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.00934, allocations: 374.8 kB / 0.7822 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009343, allocations: 3.984 kB / 0.7822 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.009363, allocations: 12 kB / 0.7823 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009366, allocations: 0 / 0.7823 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.009377, allocations: 6.625 kB / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.009382, allocations: 11.97 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009383, allocations: 0 / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009551, allocations: 245.6 kB / 0.7825 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.009569, allocations: 15.84 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.009585, allocations: 8 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.009627, allocations: 7.984 kB / 0.7825 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.009671, allocations: 25.03 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.009689, allocations: 8 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.009715, allocations: 20.84 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009715, allocations: 5.625 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002268/0.009942, allocations: 67.94 kB / 0.7827 GB, free: 13.47 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.0001585/0.0101, allocations: 99.42 kB / 0.7828 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.01043, allocations: 361.8 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.01044, allocations: 4 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.01051, allocations: 70.11 kB / 0.7832 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01073, allocations: 31.97 kB / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.01115, allocations: 299.2 kB / 0.7835 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.0112, allocations: 72.95 kB / 0.7836 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.091e-05/0.01125, allocations: 31.55 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.01137, allocations: 100.6 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/0.01137, allocations: 0 / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.004899/0.01627, allocations: 3.055 MB / 0.7867 GB, free: 9.453 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.132020586170256]