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.001885/0.001885, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002121/0.002121, allocations: 221 kB / 23 MB, free: 4.969 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.018/1.018, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [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.002086/0.002086, allocations: 71.06 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 89.18 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001912/0.1981, allocations: 0.7188 MB / 0.7289 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1998, allocations: 1.264 MB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.1999, allocations: 0 / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.1999, allocations: 7.875 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.2, allocations: 19.86 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.2007, allocations: 246.4 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.2011, allocations: 259.6 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2012, allocations: 33.28 kB / 0.7307 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2013, allocations: 107.7 kB / 0.7308 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2015, allocations: 87.67 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.2015, allocations: 24 kB / 0.7309 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.2016, allocations: 39.98 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.2017, allocations: 27.91 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2018, allocations: 87.75 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2021, allocations: 251.4 kB / 0.7313 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2021, allocations: 4 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2021, allocations: 0 / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2021, allocations: 0 / 0.7313 GB, free: 13.87 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.0006581/0.2028, allocations: 421.2 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2028, allocations: 8.031 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.2029, allocations: 50.73 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.2029, allocations: 24.78 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.2035, allocations: 179.8 kB / 0.7319 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2035, allocations: 12.38 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.2035, allocations: 24.38 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.2037, allocations: 114.8 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2038, allocations: 3.984 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2038, allocations: 11.88 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2038, allocations: 4 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2039, allocations: 55.91 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.2046, allocations: 407.4 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.2048, allocations: 118.7 kB / 0.7326 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2049, allocations: 56.84 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2049, allocations: 0 / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.2053, allocations: 187.2 kB / 0.7329 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.2053, allocations: 0 / 0.7329 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0006019/0.2059, allocations: 325.5 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.2059, allocations: 67.31 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2061, allocations: 155.7 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.2061, allocations: 45.7 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2063, allocations: 105 kB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.2063, allocations: 67.53 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2065, allocations: 102 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2067, allocations: 326.8 kB / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2069, allocations: 168.1 kB / 0.7342 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.2072, allocations: 237 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2076, allocations: 278.9 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2076, allocations: 0 / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007258/0.2083, allocations: 489.6 kB / 0.7351 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.2084, allocations: 67.39 kB / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2084, allocations: 0 / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2084, allocations: 7.938 kB / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.2085, allocations: 20.11 kB / 0.7352 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2085, allocations: 8 kB / 0.7352 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.2088, allocations: 75.72 kB / 0.7353 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.2089, allocations: 16 kB / 0.7353 GB, free: 9.387 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.0001629/0.209, allocations: 153.8 kB / 0.7355 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2091, allocations: 19.91 kB / 0.7355 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.2091, allocations: 21.91 kB / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2091, allocations: 3.938 kB / 0.7355 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2091, allocations: 0 / 0.7355 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2091, allocations: 11.92 kB / 0.7355 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.2099, allocations: 0.5767 MB / 0.7361 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2099, allocations: 0 / 0.7361 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.2099, allocations: 11.98 kB / 0.7361 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.21, allocations: 8 kB / 0.7361 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.21, allocations: 8 kB / 0.7361 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.21, allocations: 7.938 kB / 0.7361 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.21, allocations: 0 / 0.7361 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.2104, allocations: 364.4 kB / 0.7365 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.2105, allocations: 15.84 kB / 0.7365 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.2105, allocations: 11.98 kB / 0.7365 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.2106, allocations: 7.984 kB / 0.7365 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.2106, allocations: 15.97 kB / 0.7365 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.2106, allocations: 16 kB / 0.7365 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.481e-05/0.2107, allocations: 105.8 kB / 0.7366 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2107, allocations: 4 kB / 0.7366 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003097/0.211, allocations: 59.95 kB / 0.7367 GB, free: 7.91 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.00077/0.2118, allocations: 0.9017 MB / 0.7376 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.2124, allocations: 423.1 kB / 0.738 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2124, allocations: 0 / 0.738 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2125, allocations: 91.89 kB / 0.738 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2128, allocations: 28.36 kB / 0.7381 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.2159, allocations: 2.667 MB / 0.7407 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.216, allocations: 111.4 kB / 0.7408 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.829e-05/0.2161, allocations: 26.28 kB / 0.7408 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.2162, allocations: 47.42 kB / 0.7409 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2162, allocations: 0 / 0.7409 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.2519, allocations: 5.255 MB / 0.746 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.67, allocations: 0 / 0.746 GB, free: 14.3 MB / 0.5762 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.69626851985231] Failed to read output from testmodel.py, exit status != 0: 11.780403187964112 11.798572164 11.593195624 Calling exit ...