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.001342/0.001342, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00157/0.00157, allocations: 210.4 kB / 22.99 MB, free: 4.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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9769/0.9769, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.002142/0.002142, allocations: 68.25 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1949, allocations: 89.16 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002413/0.1973, allocations: 0.7182 MB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1993, allocations: 1.167 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.1993, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.1994, allocations: 7.938 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.1994, allocations: 11.91 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2, allocations: 145.4 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.2002, allocations: 119.8 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.2003, allocations: 11.98 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2004, allocations: 43.91 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2005, allocations: 47.8 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.2005, allocations: 12 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.2006, allocations: 24 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.2006, allocations: 11.98 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.2007, allocations: 39.8 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.2009, allocations: 115.9 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2009, allocations: 3.938 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2009, allocations: 0 / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2009, allocations: 4 kB / 0.7306 GB, free: 14.54 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.0006777/0.2015, allocations: 335.8 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2016, allocations: 8.031 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.2016, allocations: 38.75 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.2017, allocations: 16.88 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2018, allocations: 114.4 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2018, allocations: 4.375 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.2019, allocations: 12.38 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.2021, allocations: 66.22 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2022, allocations: 7.922 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.2022, allocations: 0 / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2022, allocations: 0 / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2024, allocations: 51.89 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.2029, allocations: 283.8 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2031, allocations: 58.55 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2032, allocations: 28.95 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.2032, allocations: 0 / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.2035, allocations: 95.42 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.2035, allocations: 4 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000462/0.2039, allocations: 141.5 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.204, allocations: 51.41 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2041, allocations: 124.5 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.2041, allocations: 29.7 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.2042, allocations: 92.12 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.2042, allocations: 27.78 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.2043, allocations: 41.69 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.2045, allocations: 322.8 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2047, allocations: 81.66 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2049, allocations: 118 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.2053, allocations: 137.9 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2053, allocations: 8 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.2057, allocations: 240.9 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.2058, allocations: 35.89 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2058, allocations: 4 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2058, allocations: 0 / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.2059, allocations: 11.98 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2059, allocations: 7.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2061, allocations: 40.08 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.2061, allocations: 11.94 kB / 0.7331 GB, free: 11.68 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.000119/0.2063, allocations: 121.8 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.2063, allocations: 7.953 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.2063, allocations: 12.38 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2063, allocations: 0 / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2063, allocations: 0 / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2063, allocations: 0 / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.2068, allocations: 357.4 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2068, allocations: 0 / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2069, allocations: 4 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2069, allocations: 0 / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2069, allocations: 11.98 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2069, allocations: 3.938 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2069, allocations: 3.938 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.2074, allocations: 215.8 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.2074, allocations: 3.953 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2074, allocations: 4 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.2075, allocations: 7.984 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2075, allocations: 11.92 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.2076, allocations: 4 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.2076, allocations: 91.27 kB / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2076, allocations: 0 / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002639/0.2079, allocations: 24 kB / 0.734 GB, free: 10.73 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.000695/0.2086, allocations: 0.7436 MB / 0.7347 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.209, allocations: 197 kB / 0.7349 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.209, allocations: 0 / 0.7349 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2092, allocations: 27.98 kB / 0.7349 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2094, allocations: 24.17 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.2118, allocations: 1.819 MB / 0.7367 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.2118, allocations: 80.14 kB / 0.7368 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.2119, allocations: 4 kB / 0.7368 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.2119, allocations: 27.36 kB / 0.7368 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2119, allocations: 0 / 0.7368 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.2449, allocations: 3.226 MB / 0.7399 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 3.172 kB / 0.74 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.410942950285971] Failed to read output from testmodel.py, exit status != 0: 11.65026264032349 11.666646712 11.462510798 Calling exit ...