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.001383/0.001383, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00166/0.00166, allocations: 219.5 kB / 23.01 MB, free: 5.004 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8 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 0.9462/0.9462, allocations: 150 MB / 463.2 MB, free: 10.54 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.002454/0.002454, allocations: 59.84 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1894, allocations: 89.17 MB / 0.7284 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002105/0.1915, allocations: 0.7539 MB / 0.7291 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1933, allocations: 1.276 MB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.1934, allocations: 4 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.1934, allocations: 7.875 kB / 0.7304 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.1935, allocations: 23.78 kB / 0.7304 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.1943, allocations: 242.3 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1946, allocations: 251.7 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1947, allocations: 45.22 kB / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1949, allocations: 103.8 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1951, allocations: 107.6 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.1951, allocations: 24 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.1952, allocations: 43.92 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.1953, allocations: 35.91 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1954, allocations: 91.67 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1957, allocations: 243.5 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1957, allocations: 0 / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1957, allocations: 0 / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1958, allocations: 0 / 0.7315 GB, free: 14.09 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.0006518/0.1964, allocations: 429.2 kB / 0.7319 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1964, allocations: 8.031 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.1965, allocations: 46.67 kB / 0.732 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.1966, allocations: 20.84 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.1971, allocations: 186.1 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1971, allocations: 12.38 kB / 0.7322 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1971, allocations: 20.38 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1974, allocations: 121.9 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1974, allocations: 0 / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1974, allocations: 0 / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1974, allocations: 4 kB / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1975, allocations: 55.91 kB / 0.7324 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.1982, allocations: 451.3 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1985, allocations: 126.7 kB / 0.7329 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.1986, allocations: 48.84 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1986, allocations: 4 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.199, allocations: 183.2 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.199, allocations: 4 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0005921/0.1996, allocations: 309.5 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1996, allocations: 67.34 kB / 0.7335 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1998, allocations: 153.7 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.1998, allocations: 45.69 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.1999, allocations: 101 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.2, allocations: 75.47 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2001, allocations: 102 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2003, allocations: 330.8 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2005, allocations: 108.8 kB / 0.7344 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.2008, allocations: 161.6 kB / 0.7345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.2012, allocations: 286.9 kB / 0.7348 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2012, allocations: 4 kB / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006603/0.2018, allocations: 426.2 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.2019, allocations: 69.16 kB / 0.7353 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2019, allocations: 4 kB / 0.7353 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.2019, allocations: 11.92 kB / 0.7353 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.202, allocations: 15.92 kB / 0.7353 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.202, allocations: 3.938 kB / 0.7353 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2023, allocations: 75.72 kB / 0.7354 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.2024, allocations: 23.98 kB / 0.7354 GB, free: 9.789 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.0001912/0.2025, allocations: 157.7 kB / 0.7356 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2026, allocations: 15.91 kB / 0.7356 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.2026, allocations: 21.95 kB / 0.7356 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2026, allocations: 7.938 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2026, allocations: 0 / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2026, allocations: 0 / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.2035, allocations: 0.604 MB / 0.7362 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2035, allocations: 0 / 0.7362 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.2035, allocations: 7.938 kB / 0.7362 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2035, allocations: 0 / 0.7362 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2035, allocations: 11.98 kB / 0.7362 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2035, allocations: 0 / 0.7362 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2035, allocations: 0 / 0.7362 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.204, allocations: 360.2 kB / 0.7366 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.204, allocations: 19.84 kB / 0.7366 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.204, allocations: 7.984 kB / 0.7366 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.2041, allocations: 8 kB / 0.7366 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.2041, allocations: 23.95 kB / 0.7366 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2042, allocations: 8 kB / 0.7366 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.035e-05/0.2042, allocations: 99.27 kB / 0.7367 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2042, allocations: 4 kB / 0.7367 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003229/0.2046, allocations: 67.92 kB / 0.7368 GB, free: 8.309 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.0008372/0.2054, allocations: 0.9022 MB / 0.7377 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.206, allocations: 351.5 kB / 0.738 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.206, allocations: 4.125 kB / 0.738 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2061, allocations: 95.88 kB / 0.7381 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2065, allocations: 34.41 kB / 0.7381 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.2097, allocations: 2.424 MB / 0.7405 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.21, allocations: 0.7281 MB / 0.7412 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.741e-05/0.2101, allocations: 22.23 kB / 0.7412 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.2102, allocations: 47.42 kB / 0.7413 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2102, allocations: 0 / 0.7413 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.2441, allocations: 4.739 MB / 0.7459 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.16, allocations: 9.344 kB / 0.7459 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 14.870292304083705] Failed to read output from testmodel.py, exit status != 0: 11.26262938696891 11.279507338 11.080363185 Calling exit ...