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.001592/0.001592, allocations: 109 kB / 17.12 MB, free: 5.926 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.001567/0.001567, allocations: 205 kB / 20.09 MB, free: 2.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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.152/1.152, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 179] 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.002004/0.002004, allocations: 66.34 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1894, allocations: 89.15 MB / 0.7236 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00266/0.1921, allocations: 0.7444 MB / 0.7244 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1944, allocations: 1.278 MB / 0.7256 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1944, allocations: 4 kB / 0.7256 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.836e-05/0.1945, allocations: 15.8 kB / 0.7256 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1946, allocations: 11.86 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009383/0.1955, allocations: 249.2 kB / 0.7259 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.196, allocations: 259.6 kB / 0.7261 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1961, allocations: 41.08 kB / 0.7262 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1963, allocations: 103.8 kB / 0.7263 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1965, allocations: 107.6 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.1966, allocations: 24 kB / 0.7264 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1967, allocations: 39.98 kB / 0.7264 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1968, allocations: 27.91 kB / 0.7265 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1969, allocations: 99.67 kB / 0.7266 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.1973, allocations: 239.1 kB / 0.7268 GB, free: 284 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1973, allocations: 4 kB / 0.7268 GB, free: 280 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1973, allocations: 0 / 0.7268 GB, free: 280 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1973, allocations: 0 / 0.7268 GB, free: 280 kB / 0.5294 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.0008876/0.1982, allocations: 0.4905 MB / 0.7273 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1983, allocations: 12.03 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1984, allocations: 20.84 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.1991, allocations: 244.3 kB / 0.7275 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1991, allocations: 16.38 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.1992, allocations: 20.38 kB / 0.7276 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1995, allocations: 111 kB / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1995, allocations: 7.938 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.1995, allocations: 4 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1995, allocations: 0 / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1997, allocations: 59.91 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2007, allocations: 480.2 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.2011, allocations: 126.6 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.2013, allocations: 52.84 kB / 0.7284 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.2013, allocations: 0 / 0.7284 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.2017, allocations: 183.2 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.2017, allocations: 4 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0007525/0.2025, allocations: 318.3 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.2026, allocations: 63.33 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.2028, allocations: 155.3 kB / 0.7291 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.2028, allocations: 37.7 kB / 0.7291 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.203, allocations: 105 kB / 0.7292 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.203, allocations: 75.47 kB / 0.7293 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.2033, allocations: 98.03 kB / 0.7294 GB, free: 13.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0005003/0.2038, allocations: 330.8 kB / 0.7297 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2041, allocations: 104.8 kB / 0.7298 GB, free: 12.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.2046, allocations: 177.4 kB / 0.7299 GB, free: 12.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.2052, allocations: 282.8 kB / 0.7302 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2052, allocations: 0 / 0.7302 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001076/0.2063, allocations: 422.3 kB / 0.7306 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.2064, allocations: 63.59 kB / 0.7307 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2064, allocations: 7.938 kB / 0.7307 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.2065, allocations: 4 kB / 0.7307 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.2066, allocations: 27.8 kB / 0.7307 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2066, allocations: 4 kB / 0.7307 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.207, allocations: 71.72 kB / 0.7308 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.2071, allocations: 23.98 kB / 0.7308 GB, free: 11.82 MB / 0.545 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.0002159/0.2073, allocations: 154 kB / 0.731 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.2073, allocations: 23.84 kB / 0.731 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.2074, allocations: 21.97 kB / 0.731 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2074, allocations: 3.938 kB / 0.731 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2074, allocations: 4 kB / 0.731 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.2074, allocations: 0 / 0.731 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2086, allocations: 0.6235 MB / 0.7316 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2086, allocations: 4 kB / 0.7316 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.2086, allocations: 15.92 kB / 0.7316 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2086, allocations: 0 / 0.7316 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2086, allocations: 4 kB / 0.7316 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2086, allocations: 0 / 0.7316 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2086, allocations: 3.984 kB / 0.7316 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.2093, allocations: 368.1 kB / 0.732 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.2094, allocations: 92.95 kB / 0.7321 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.2095, allocations: 8 kB / 0.7321 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2096, allocations: 11.98 kB / 0.7321 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2097, allocations: 23.97 kB / 0.7321 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.2097, allocations: 12 kB / 0.7321 GB, free: 10.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.546e-05/0.2098, allocations: 96.52 kB / 0.7322 GB, free: 10.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2098, allocations: 4 kB / 0.7322 GB, free: 10.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005328/0.2104, allocations: 63.98 kB / 0.7323 GB, free: 10.2 MB / 0.545 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.0002306/0.2106, allocations: 113.4 kB / 0.7324 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.2114, allocations: 363.9 kB / 0.7327 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2114, allocations: 0 / 0.7327 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.2117, allocations: 95.81 kB / 0.7328 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.2122, allocations: 32.36 kB / 0.7329 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.2131, allocations: 331.8 kB / 0.7332 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.2138, allocations: 0.7173 MB / 0.7339 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2139, allocations: 34.22 kB / 0.7339 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2139, allocations: 19.44 kB / 0.7339 GB, free: 8.43 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2139, allocations: 0 / 0.7339 GB, free: 8.43 MB / 0.545 GB Notification: Performance of Templates: time 0.009263/0.2232, allocations: 2.716 MB / 0.7366 GB, free: 5.738 MB / 0.545 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.4606866708491] Failed to read output from testmodel.py, exit status != 0: 0.23267989605665207 0.24806478099999996 0.047888532000000004 Calling exit ...