Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001217/0.001217, allocations: 119 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.001376/0.001376, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.9719/0.9719, allocations: 150 MB / 463.2 MB, free: 10.46 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.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.002213/0.002213, allocations: 65.92 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1959, allocations: 89.17 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002064/0.1979, allocations: 0.7283 MB / 0.7291 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1996, allocations: 1.186 MB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.1996, allocations: 4 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.1996, allocations: 7.938 kB / 0.7302 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.1997, allocations: 15.84 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2002, allocations: 139.6 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.2004, allocations: 119.7 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.2005, allocations: 12 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.2005, allocations: 47.91 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2007, allocations: 59.67 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2007, allocations: 8 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.2008, allocations: 28 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2008, allocations: 7.984 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.2008, allocations: 47.78 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.201, allocations: 112 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.201, allocations: 0 / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.201, allocations: 0 / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.201, allocations: 0 / 0.7308 GB, free: 14.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006244/0.2017, allocations: 339.7 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2017, allocations: 12.03 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2018, allocations: 42.73 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.2018, allocations: 12.89 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2019, allocations: 118.4 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.202, allocations: 4.375 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.202, allocations: 8.375 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2022, allocations: 66.22 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2022, allocations: 3.938 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2022, allocations: 0 / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2022, allocations: 0 / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.2024, allocations: 55.94 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.203, allocations: 311.7 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2032, allocations: 50.55 kB / 0.7318 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2033, allocations: 37.02 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.2034, allocations: 0 / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.2037, allocations: 91.3 kB / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2037, allocations: 0 / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.2042, allocations: 137.6 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2042, allocations: 55.41 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2044, allocations: 120.9 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2044, allocations: 33.7 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.2045, allocations: 92.2 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.2045, allocations: 19.8 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.2046, allocations: 41.69 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2048, allocations: 318.8 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.205, allocations: 59.95 kB / 0.7328 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.2052, allocations: 96.12 kB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2055, allocations: 146.2 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2055, allocations: 0 / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000488/0.206, allocations: 207.2 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.206, allocations: 43.34 kB / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2061, allocations: 4.062 kB / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.2061, allocations: 8 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2062, allocations: 11.98 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2062, allocations: 0 / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2064, allocations: 31.97 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2064, allocations: 11.98 kB / 0.7333 GB, free: 11.91 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001436/0.2066, allocations: 121.7 kB / 0.7334 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.2066, allocations: 11.95 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2066, allocations: 12.38 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2066, allocations: 0 / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2066, allocations: 0 / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2066, allocations: 3.984 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.2072, allocations: 353.5 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2072, allocations: 0 / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.2073, allocations: 15.92 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2073, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2073, allocations: 4 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2073, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2073, allocations: 3.938 kB / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.2076, allocations: 203.5 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.2076, allocations: 19.94 kB / 0.734 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2077, allocations: 0 / 0.734 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.2077, allocations: 4 kB / 0.734 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.2078, allocations: 11.92 kB / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2078, allocations: 4 kB / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.2079, allocations: 95.2 kB / 0.7341 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2079, allocations: 4 kB / 0.7341 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002653/0.2081, allocations: 20 kB / 0.7341 GB, free: 10.96 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0006884/0.2088, allocations: 0.7455 MB / 0.7349 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2092, allocations: 167.3 kB / 0.735 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2092, allocations: 4.25 kB / 0.735 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2093, allocations: 39.89 kB / 0.7351 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2096, allocations: 16.12 kB / 0.7351 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.2121, allocations: 1.699 MB / 0.7367 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.2125, allocations: 0.6924 MB / 0.7374 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.2126, allocations: 4 kB / 0.7374 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.2126, allocations: 23.42 kB / 0.7374 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of SimCode: time 1.083e-06/0.2126, allocations: 0 / 0.7374 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2425, allocations: 2.692 MB / 0.7401 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.18, allocations: 2.234 kB / 0.7401 GB, free: 4.852 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.918305614963174] Failed to read output from testmodel.py, exit status != 0: 11.293469881871715 11.312787269 11.107882902 Calling exit ...