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.001808/0.001808, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001977/0.001977, allocations: 173.2 kB / 23.23 MB, free: 1.324 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 1.653/1.653, allocations: 177.1 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 178] 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 3.227/3.227, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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.964e-06/1.964e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.068e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001993/0.002024, allocations: 0.7468 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.003942, allocations: 1.267 MB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.003998, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.004044, allocations: 11.86 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.004121, allocations: 19.81 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.004816, allocations: 249 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.005163, allocations: 259.5 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.005301, allocations: 33.28 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.005506, allocations: 151.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.005671, allocations: 83.78 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.005725, allocations: 24 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.005817, allocations: 32 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.005865, allocations: 35.83 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.005987, allocations: 83.86 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.006386, allocations: 279.2 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006389, allocations: 3.938 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00639, allocations: 4 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.006397, allocations: 3.984 kB / 1.004 GB, free: 9.711 MB / 0.9636 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.0006701/0.007067, allocations: 425.2 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.007114, allocations: 9.344 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.007187, allocations: 20.84 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.007704, allocations: 165.8 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.007737, allocations: 16.36 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.007782, allocations: 24.31 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.008008, allocations: 116.8 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008018, allocations: 192 / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.008044, allocations: 4.375 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.008053, allocations: 12.12 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.008176, allocations: 55.97 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.008827, allocations: 380 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.009091, allocations: 118.7 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.009192, allocations: 52.83 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.009207, allocations: 4.094 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.009512, allocations: 183.2 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.009514, allocations: 0 / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32): time 0.0006083/0.01012, allocations: 326.3 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.01019, allocations: 63.38 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01035, allocations: 167.9 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.0104, allocations: 33.7 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.01049, allocations: 105 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.01057, allocations: 75.47 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.01072, allocations: 94.05 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000283/0.01101, allocations: 338.7 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.01127, allocations: 172.2 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.0116, allocations: 233.4 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.01201, allocations: 278.9 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01201, allocations: 3.938 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007399/0.01275, allocations: 489.7 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.01282, allocations: 67.39 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01283, allocations: 0 / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01284, allocations: 4 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.01291, allocations: 15.92 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.01292, allocations: 4 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.01327, allocations: 79.91 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.01331, allocations: 23.98 kB / 1.008 GB, free: 5.332 MB / 0.9636 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,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.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) * 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.0001679/0.01348, allocations: 153.7 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01351, allocations: 15.91 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.01356, allocations: 21.95 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01357, allocations: 4 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.01357, allocations: 4 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01358, allocations: 4 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/0.01439, allocations: 0.5466 MB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01439, allocations: 0 / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.01443, allocations: 15.92 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01443, allocations: 3.938 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.01445, allocations: 4 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01445, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01445, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.01491, allocations: 360.6 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01493, allocations: 23.84 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01496, allocations: 11.92 kB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.01503, allocations: 4 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.0151, allocations: 19.97 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.01513, allocations: 15.98 kB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.322e-05/0.01522, allocations: 107.1 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01522, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003109/0.01553, allocations: 60 kB / 1.01 GB, free: 3.918 MB / 0.9636 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.000188/0.01571, allocations: 121.2 kB / 1.01 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.01634, allocations: 414.6 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01634, allocations: 0 / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.01649, allocations: 87.84 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.01682, allocations: 38.5 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.01742, allocations: 316.2 kB / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.01755, allocations: 112.9 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.92e-05/0.01761, allocations: 22.28 kB / 1.011 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.01766, allocations: 28.5 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01766, allocations: 0 / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of Templates: time 0.007283/0.02495, allocations: 2.835 MB / 1.013 GB, free: 15.92 MB / 0.9792 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: 9.055696552619338]