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.001359/0.001359, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001384/0.001384, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.525/1.525, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.014/1.014, allocations: 150 MB / 463.9 MB, free: 10.66 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="cs",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.002085/0.002085, allocations: 63.47 kB / 0.642 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2018, allocations: 89.17 MB / 0.729 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002136/0.2039, allocations: 0.7407 MB / 0.7298 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2058, allocations: 1.26 MB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.2059, allocations: 0 / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.2059, allocations: 11.86 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.206, allocations: 19.8 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.2068, allocations: 252.4 kB / 0.7313 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.2072, allocations: 251.6 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2074, allocations: 45.28 kB / 0.7316 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2075, allocations: 103.7 kB / 0.7317 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.2077, allocations: 107.7 kB / 0.7318 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.2078, allocations: 24 kB / 0.7318 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.2079, allocations: 36 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.2079, allocations: 31.91 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.208, allocations: 91.73 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2084, allocations: 247.4 kB / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2084, allocations: 0 / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2084, allocations: 0 / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2084, allocations: 4 kB / 0.7322 GB, free: 13.7 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.0007152/0.2091, allocations: 421.2 kB / 0.7326 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2092, allocations: 15.97 kB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.2092, allocations: 4.188 kB / 0.7326 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.2092, allocations: 46.73 kB / 0.7326 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.2093, allocations: 24.84 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.2098, allocations: 178.5 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.2099, allocations: 20.3 kB / 0.7329 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2099, allocations: 20.38 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.2102, allocations: 133.7 kB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2102, allocations: 0 / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2102, allocations: 7.984 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2102, allocations: 4 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2103, allocations: 67.97 kB / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.2109, allocations: 379.5 kB / 0.7334 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.2111, allocations: 86.47 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.2112, allocations: 36.77 kB / 0.7336 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2112, allocations: 4 kB / 0.7336 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.2115, allocations: 123.3 kB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2115, allocations: 0 / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004592/0.2119, allocations: 256.2 kB / 0.7339 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.212, allocations: 59.41 kB / 0.734 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2121, allocations: 131.8 kB / 0.7341 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2122, allocations: 33.7 kB / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.2122, allocations: 124.6 kB / 0.7343 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2123, allocations: 31.8 kB / 0.7343 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2124, allocations: 69.67 kB / 0.7344 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2125, allocations: 318.8 kB / 0.7347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2127, allocations: 131.3 kB / 0.7348 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.213, allocations: 189.4 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2132, allocations: 211 kB / 0.7352 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2133, allocations: 7.938 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005801/0.2138, allocations: 388.1 kB / 0.7355 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.2139, allocations: 67.39 kB / 0.7356 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2139, allocations: 4 kB / 0.7356 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2139, allocations: 0 / 0.7356 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.874e-05/0.214, allocations: 8 kB / 0.7356 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.214, allocations: 3.938 kB / 0.7356 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.2143, allocations: 63.95 kB / 0.7357 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.2143, allocations: 19.98 kB / 0.7357 GB, free: 9.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001512/0.2145, allocations: 138.4 kB / 0.7358 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2145, allocations: 11.95 kB / 0.7358 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.2146, allocations: 8.781 kB / 0.7359 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2146, allocations: 3.984 kB / 0.7359 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2146, allocations: 4 kB / 0.7359 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2146, allocations: 0 / 0.7359 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.2151, allocations: 456.3 kB / 0.7363 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2151, allocations: 4 kB / 0.7363 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.2151, allocations: 3.938 kB / 0.7363 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2151, allocations: 7.938 kB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2152, allocations: 7.984 kB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2152, allocations: 0 / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2152, allocations: 4 kB / 0.7363 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.2155, allocations: 299.3 kB / 0.7366 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.2155, allocations: 7.953 kB / 0.7366 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2155, allocations: 3.984 kB / 0.7366 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.2156, allocations: 12 kB / 0.7366 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2157, allocations: 11.97 kB / 0.7366 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.2157, allocations: 16 kB / 0.7367 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.2158, allocations: 95.27 kB / 0.7367 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2158, allocations: 0 / 0.7367 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003295/0.2161, allocations: 51.88 kB / 0.7368 GB, free: 8.555 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$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 (16): * Single equations (assignments): 8 * 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.0007268/0.2168, allocations: 0.8371 MB / 0.7376 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.2173, allocations: 332.2 kB / 0.7379 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2173, allocations: 4.062 kB / 0.7379 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2174, allocations: 59.91 kB / 0.738 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2177, allocations: 26.02 kB / 0.738 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.2205, allocations: 2.281 MB / 0.7402 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2206, allocations: 98.78 kB / 0.7403 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.282e-05/0.2207, allocations: 13.08 kB / 0.7404 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.2208, allocations: 35.42 kB / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/0.2208, allocations: 0 / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2467, allocations: 4.005 MB / 0.7443 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.66, allocations: 6.562 kB / 0.7443 GB, free: 0.7969 MB / 0.5606 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 os._exit(0), Time elapsed: 15.585171144106425] Failed to read output from testmodel.py, exit status != 0: 11.8244624909712 11.853478032 11.639884797 Calling exit ...