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.00133/0.00133, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.001936/0.001936, allocations: 204.8 kB / 23.03 MB, free: 5.008 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.9684/0.9684, allocations: 150 MB / 463.2 MB, free: 10.15 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.002043/0.002043, allocations: 66.62 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2032, allocations: 89.18 MB / 0.7284 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001985/0.2052, allocations: 0.7345 MB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2069, allocations: 1.248 MB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.207, allocations: 0 / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.207, allocations: 15.86 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.2071, allocations: 19.8 kB / 0.7303 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.2078, allocations: 245.6 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.2082, allocations: 251.6 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2083, allocations: 41.28 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2085, allocations: 103.7 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2087, allocations: 91.61 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2087, allocations: 27.94 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2088, allocations: 39.98 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.2089, allocations: 31.91 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.209, allocations: 83.75 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2093, allocations: 251.4 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2093, allocations: 0 / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2093, allocations: 4 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2094, allocations: 0 / 0.7315 GB, free: 13.53 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.0007227/0.2101, allocations: 417.2 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.2101, allocations: 12.03 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.2102, allocations: 42.73 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.2103, allocations: 20.84 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.2108, allocations: 178.5 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2109, allocations: 16.38 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.2109, allocations: 28.34 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.2112, allocations: 110.8 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2112, allocations: 0 / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2112, allocations: 7.984 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2112, allocations: 0 / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2113, allocations: 59.91 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.2121, allocations: 407.5 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.2123, allocations: 126.7 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.2124, allocations: 56.77 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2124, allocations: 4 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.2128, allocations: 179.2 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.2128, allocations: 0 / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0006028/0.2134, allocations: 325.5 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.2135, allocations: 67.28 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2136, allocations: 164.3 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.2137, allocations: 37.7 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2138, allocations: 109 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.2139, allocations: 71.52 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.2141, allocations: 98.05 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.2143, allocations: 330.8 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.2145, allocations: 164.2 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2148, allocations: 229 kB / 0.7346 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2152, allocations: 286.8 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2152, allocations: 0 / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008383/0.2161, allocations: 489.7 kB / 0.7353 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.2162, allocations: 59.41 kB / 0.7354 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2162, allocations: 4 kB / 0.7354 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.2162, allocations: 15.86 kB / 0.7354 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.2163, allocations: 16.12 kB / 0.7354 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.2163, allocations: 4 kB / 0.7354 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.2167, allocations: 75.66 kB / 0.7355 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.2168, allocations: 27.98 kB / 0.7355 GB, free: 9.047 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.0002104/0.217, allocations: 149.8 kB / 0.7357 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.217, allocations: 19.89 kB / 0.7357 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.2171, allocations: 21.97 kB / 0.7357 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.2171, allocations: 7.938 kB / 0.7357 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.2171, allocations: 0 / 0.7357 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2171, allocations: 0 / 0.7357 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.2181, allocations: 0.5768 MB / 0.7363 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2181, allocations: 7.938 kB / 0.7363 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.2181, allocations: 7.938 kB / 0.7363 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2181, allocations: 4 kB / 0.7363 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2181, allocations: 8 kB / 0.7363 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2181, allocations: 3.984 kB / 0.7363 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2181, allocations: 0 / 0.7363 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.2186, allocations: 368.4 kB / 0.7367 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2186, allocations: 19.84 kB / 0.7367 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.2187, allocations: 7.984 kB / 0.7367 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.2187, allocations: 4 kB / 0.7367 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.2188, allocations: 23.91 kB / 0.7367 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.2188, allocations: 15.98 kB / 0.7367 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.2189, allocations: 107.3 kB / 0.7368 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2189, allocations: 0 / 0.7368 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003446/0.2193, allocations: 59.95 kB / 0.7369 GB, free: 7.578 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.0009275/0.2202, allocations: 0.9056 MB / 0.7378 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006648/0.2209, allocations: 419.1 kB / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2209, allocations: 0 / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.221, allocations: 88.2 kB / 0.7382 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.2214, allocations: 34.83 kB / 0.7383 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.2249, allocations: 2.671 MB / 0.7409 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.225, allocations: 115.4 kB / 0.741 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.2251, allocations: 22.28 kB / 0.741 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.2252, allocations: 51.52 kB / 0.7411 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.2252, allocations: 3.938 kB / 0.7411 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.26, allocations: 5.243 MB / 0.7462 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.39, allocations: 7.062 kB / 0.7462 GB, free: 13.96 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 & /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: 15.668112891027704] Failed to read output from testmodel.py, exit status != 0: 11.505818634061143 11.820701792 11.317987192 Calling exit ...