Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001246/0.001246, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001373/0.001373, allocations: 222.4 kB / 23.01 MB, free: 5.043 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9266/0.9266, allocations: 150 MB / 463.2 MB, free: 10.45 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.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",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.00215/0.00215, allocations: 63.34 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1907, allocations: 89.17 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002098/0.1928, allocations: 0.7322 MB / 0.7291 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1945, allocations: 1.178 MB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.1945, allocations: 0 / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.1945, allocations: 7.922 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.1946, allocations: 19.88 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.1952, allocations: 133.7 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1954, allocations: 123.7 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.1955, allocations: 8 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1956, allocations: 51.89 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1957, allocations: 43.83 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1957, allocations: 12 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1958, allocations: 27.92 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.1958, allocations: 15.92 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.1959, allocations: 47.84 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1961, allocations: 111.9 kB / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1961, allocations: 0 / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1961, allocations: 0 / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1961, allocations: 0 / 0.7308 GB, free: 14.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005961/0.1967, allocations: 335.8 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1967, allocations: 12.03 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1967, allocations: 30.75 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1968, allocations: 16.89 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1969, allocations: 118.4 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1969, allocations: 4.375 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.197, allocations: 12.36 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1972, allocations: 66.16 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1972, allocations: 3.938 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1972, allocations: 4 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1972, allocations: 0 / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1974, allocations: 51.94 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1979, allocations: 299.8 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1981, allocations: 58.55 kB / 0.7318 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1982, allocations: 40.95 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1982, allocations: 0 / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1985, allocations: 87.31 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1985, allocations: 0 / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004455/0.1989, allocations: 141.6 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1989, allocations: 55.41 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1991, allocations: 117.8 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1991, allocations: 37.69 kB / 0.7322 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1992, allocations: 88.14 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1992, allocations: 15.91 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.1993, allocations: 41.69 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1994, allocations: 314.8 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1996, allocations: 59.95 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1997, allocations: 84.25 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.2, allocations: 141.9 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2, allocations: 0 / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004612/0.2005, allocations: 215.1 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.2005, allocations: 33.7 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2005, allocations: 128 / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2006, allocations: 7.984 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.2006, allocations: 11.94 kB / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2007, allocations: 7.938 kB / 0.7332 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2009, allocations: 43.84 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2009, allocations: 4 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001209/0.201, allocations: 129.8 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.201, allocations: 7.953 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.201, allocations: 12.31 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.201, allocations: 4 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2011, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2011, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.2016, allocations: 345.8 kB / 0.7337 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2016, allocations: 0 / 0.7337 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.2016, allocations: 19.98 kB / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2016, allocations: 0 / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2016, allocations: 0 / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2016, allocations: 0 / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2016, allocations: 80 / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.202, allocations: 219.3 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.202, allocations: 7.953 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.202, allocations: 8.062 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.2021, allocations: 11.98 kB / 0.734 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2021, allocations: 7.922 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.2021, allocations: 4 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.316e-05/0.2022, allocations: 98.55 kB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002631/0.2025, allocations: 23.94 kB / 0.7341 GB, free: 11 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000686/0.2032, allocations: 0.7475 MB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.2036, allocations: 163.2 kB / 0.735 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2036, allocations: 4.25 kB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2037, allocations: 31.98 kB / 0.735 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2039, allocations: 19.92 kB / 0.7351 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.2062, allocations: 1.686 MB / 0.7367 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.2065, allocations: 0.6885 MB / 0.7374 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.2066, allocations: 11.97 kB / 0.7374 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.2066, allocations: 23.38 kB / 0.7374 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2066, allocations: 0 / 0.7374 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.2364, allocations: 2.679 MB / 0.74 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.09, allocations: 3.438 kB / 0.74 GB, free: 4.914 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.743184633087367] Failed to read output from testmodel.py, exit status != 0: 11.19300616090186 11.209382599 11.010159388 Calling exit ...