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.001247/0.001247, allocations: 109.7 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.001368/0.001368, allocations: 204 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9638/0.9638, allocations: 150 MB / 459.5 MB, free: 5.32 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: "" <> 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.002078/0.002078, allocations: 71.81 kB / 0.6361 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.186, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002144/0.1881, allocations: 0.7556 MB / 0.7239 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.19, allocations: 1.278 MB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.1901, allocations: 8 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.1901, allocations: 7.875 kB / 0.7252 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1902, allocations: 23.78 kB / 0.7252 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.191, allocations: 241.6 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.1913, allocations: 255.6 kB / 0.7257 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1915, allocations: 41.09 kB / 0.7257 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1917, allocations: 103.8 kB / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1918, allocations: 103.7 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.1919, allocations: 24 kB / 0.7259 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.192, allocations: 36 kB / 0.726 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.192, allocations: 39.83 kB / 0.726 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1921, allocations: 95.67 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1924, allocations: 243.5 kB / 0.7263 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1924, allocations: 3.938 kB / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1924, allocations: 0 / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1924, allocations: 0 / 0.7263 GB, free: 0.7891 MB / 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.0006706/0.1931, allocations: 0.4922 MB / 0.7268 GB, free: 240 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1932, allocations: 12.03 kB / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1932, allocations: 42.73 kB / 0.7269 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1933, allocations: 20.84 kB / 0.7269 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.1938, allocations: 240.3 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1939, allocations: 16.38 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.1939, allocations: 24.36 kB / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1941, allocations: 118.7 kB / 0.7273 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1941, allocations: 0 / 0.7273 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1942, allocations: 7.984 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1942, allocations: 4 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1943, allocations: 55.91 kB / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.1949, allocations: 472.3 kB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1952, allocations: 125.8 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.1953, allocations: 56.83 kB / 0.728 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1953, allocations: 0 / 0.728 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.1956, allocations: 183.2 kB / 0.7281 GB, free: 14.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.1956, allocations: 4 kB / 0.7281 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0005366/0.1961, allocations: 318.2 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1962, allocations: 59.34 kB / 0.7285 GB, free: 14.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1963, allocations: 155.3 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.1964, allocations: 37.7 kB / 0.7287 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1965, allocations: 109 kB / 0.7288 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.1965, allocations: 71.48 kB / 0.7288 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.1967, allocations: 98.05 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1968, allocations: 334.8 kB / 0.7293 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.197, allocations: 108.7 kB / 0.7294 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1973, allocations: 177.3 kB / 0.7295 GB, free: 13.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.1977, allocations: 278.9 kB / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1977, allocations: 0 / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006821/0.1983, allocations: 430.2 kB / 0.7302 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.1984, allocations: 71.58 kB / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1984, allocations: 0 / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1984, allocations: 7.938 kB / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1985, allocations: 19.92 kB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1985, allocations: 4 kB / 0.7303 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.199, allocations: 67.77 kB / 0.7304 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.199, allocations: 20 kB / 0.7304 GB, free: 12.3 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.0001569/0.1992, allocations: 161.9 kB / 0.7305 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.1992, allocations: 19.86 kB / 0.7306 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1993, allocations: 21.97 kB / 0.7306 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1993, allocations: 11.92 kB / 0.7306 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1993, allocations: 0 / 0.7306 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1993, allocations: 3.984 kB / 0.7306 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.2001, allocations: 0.6313 MB / 0.7312 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2001, allocations: 0 / 0.7312 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.2001, allocations: 11.94 kB / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2001, allocations: 0 / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2001, allocations: 7.984 kB / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2002, allocations: 0 / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2002, allocations: 0 / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.2006, allocations: 360.2 kB / 0.7316 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.2006, allocations: 96.94 kB / 0.7317 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2007, allocations: 8 kB / 0.7317 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.2007, allocations: 4 kB / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.2008, allocations: 23.97 kB / 0.7317 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2008, allocations: 12 kB / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.2009, allocations: 106.1 kB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003261/0.2012, allocations: 60 kB / 0.7319 GB, free: 10.67 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.0008246/0.2021, allocations: 0.9101 MB / 0.7328 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.2026, allocations: 359.8 kB / 0.7331 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2026, allocations: 8 kB / 0.7331 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.2028, allocations: 83.91 kB / 0.7332 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2031, allocations: 23.98 kB / 0.7332 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.2063, allocations: 2.417 MB / 0.7356 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2066, allocations: 0.7281 MB / 0.7363 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.2067, allocations: 22.28 kB / 0.7363 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.2068, allocations: 55.36 kB / 0.7364 GB, free: 5.875 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2068, allocations: 0 / 0.7364 GB, free: 5.875 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.2357, allocations: 4.439 MB / 0.7407 GB, free: 1.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.472, allocations: 13.64 kB / 0.7407 GB, free: 1.527 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.369414289016277] Failed to read output from testmodel.py, exit status != 0: 8.545494396006688 8.572401033 8.375178474 Calling exit ...