Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001259/0.001259, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001411/0.001411, allocations: 210.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 70.36 kB / 0.6416 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2048, allocations: 89.17 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002198/0.207, allocations: 0.7189 MB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2089, allocations: 1.272 MB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.2089, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.209, allocations: 7.875 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.2091, allocations: 15.86 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.2098, allocations: 245.6 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.2102, allocations: 259.6 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2103, allocations: 37.28 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2105, allocations: 99.8 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2106, allocations: 91.62 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.2107, allocations: 24 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.2108, allocations: 39.97 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.2108, allocations: 35.91 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2109, allocations: 79.75 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.2113, allocations: 251.1 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2113, allocations: 0 / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.409e-06/0.2113, allocations: 4 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2113, allocations: 7.938 kB / 0.7317 GB, free: 13.33 MB / 0.5606 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.0007394/0.212, allocations: 417.2 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.2121, allocations: 12.03 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.2122, allocations: 24.84 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.2127, allocations: 179 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2128, allocations: 12.38 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.2128, allocations: 20.38 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.213, allocations: 111.1 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2131, allocations: 7.938 kB / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.2131, allocations: 4 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2131, allocations: 0 / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2132, allocations: 63.84 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.2139, allocations: 376.1 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.2142, allocations: 127.7 kB / 0.733 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2143, allocations: 52.83 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2143, allocations: 4 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.2147, allocations: 183.2 kB / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.2147, allocations: 0 / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0006084/0.2153, allocations: 333.5 kB / 0.7336 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.2154, allocations: 63.39 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.2155, allocations: 159.6 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2156, allocations: 37.7 kB / 0.7338 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2157, allocations: 109 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.2158, allocations: 67.53 kB / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.2159, allocations: 102 kB / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2161, allocations: 330.8 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.2164, allocations: 168.2 kB / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.2167, allocations: 229 kB / 0.7348 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.217, allocations: 282.8 kB / 0.7351 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.217, allocations: 0 / 0.7351 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006872/0.2177, allocations: 493.7 kB / 0.7355 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.2178, allocations: 59.41 kB / 0.7356 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2178, allocations: 4 kB / 0.7356 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.2178, allocations: 4 kB / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.2179, allocations: 19.86 kB / 0.7356 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2179, allocations: 7.938 kB / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2182, allocations: 79.91 kB / 0.7357 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.2183, allocations: 23.98 kB / 0.7357 GB, free: 8.938 MB / 0.5606 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.0001649/0.2184, allocations: 149.8 kB / 0.7359 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2185, allocations: 15.91 kB / 0.7359 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.2185, allocations: 17.95 kB / 0.7359 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2185, allocations: 11.94 kB / 0.7359 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.2185, allocations: 3.938 kB / 0.7359 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2185, allocations: 0 / 0.7359 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.2193, allocations: 0.5499 MB / 0.7364 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2193, allocations: 0 / 0.7364 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2193, allocations: 4 kB / 0.7364 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2193, allocations: 4 kB / 0.7364 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2193, allocations: 4 kB / 0.7365 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.2193, allocations: 15.92 kB / 0.7365 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2193, allocations: 4 kB / 0.7365 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.2198, allocations: 368.4 kB / 0.7368 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.2198, allocations: 15.84 kB / 0.7368 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2198, allocations: 11.98 kB / 0.7368 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.2199, allocations: 0 / 0.7368 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.22, allocations: 19.97 kB / 0.7369 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.22, allocations: 19.98 kB / 0.7369 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.2201, allocations: 101.8 kB / 0.737 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2201, allocations: 0 / 0.737 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003278/0.2204, allocations: 63.95 kB / 0.737 GB, free: 7.516 MB / 0.5606 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.0001909/0.2206, allocations: 113.2 kB / 0.7372 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.2212, allocations: 410.6 kB / 0.7375 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2213, allocations: 4 kB / 0.7375 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2214, allocations: 91.83 kB / 0.7376 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.2218, allocations: 32.28 kB / 0.7377 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.2224, allocations: 333 kB / 0.738 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2225, allocations: 108.4 kB / 0.7381 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.198e-05/0.2226, allocations: 22.3 kB / 0.7381 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.2226, allocations: 23.44 kB / 0.7381 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of SimCode: time 5.82e-07/0.2226, allocations: 0 / 0.7381 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of Templates: time 0.006889/0.2295, allocations: 2.923 MB / 0.741 GB, free: 3.438 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.14830338396132] Failed to read output from testmodel.py, exit status != 0: 0.23817549087107182 0.252918645 0.038610089 Calling exit ...