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.001247/0.001247, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001417/0.001417, allocations: 213.4 kB / 23.04 MB, free: 4.887 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9087/0.9087, allocations: 150 MB / 463.2 MB, free: 10.23 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.00196/0.00196, allocations: 66.77 kB / 0.6413 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 89.17 MB / 0.7284 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001956/0.1726, allocations: 0.7204 MB / 0.7291 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1742, allocations: 1.163 MB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.1742, allocations: 0 / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.1742, allocations: 7.938 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.1743, allocations: 15.86 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1748, allocations: 137.8 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.175, allocations: 115.8 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.175, allocations: 11.98 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.1751, allocations: 63.83 kB / 0.7305 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.1752, allocations: 39.83 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1753, allocations: 8 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.1753, allocations: 19.98 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1753, allocations: 11.98 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.1754, allocations: 43.84 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1756, allocations: 115.9 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1756, allocations: 0 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1756, allocations: 0 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1756, allocations: 0 / 0.7308 GB, free: 14.27 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.0005887/0.1762, allocations: 339.8 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1762, allocations: 12.03 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1763, allocations: 30.75 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.1763, allocations: 12.89 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1764, allocations: 122.4 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1764, allocations: 12.36 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1764, allocations: 4.375 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1766, allocations: 62.23 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1767, allocations: 7.922 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1767, allocations: 4 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1767, allocations: 4 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1769, allocations: 47.94 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1773, allocations: 287.8 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1775, allocations: 58.61 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1776, allocations: 24.97 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1776, allocations: 4 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.1779, allocations: 91.36 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1779, allocations: 0 / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004413/0.1783, allocations: 137.6 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1784, allocations: 59.41 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.1785, allocations: 125.7 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1785, allocations: 29.7 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.1786, allocations: 92.14 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1786, allocations: 31.72 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.1787, allocations: 37.7 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1788, allocations: 322.8 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.179, allocations: 85.66 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1792, allocations: 114 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.1795, allocations: 149.9 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1795, allocations: 0 / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000479/0.1799, allocations: 236.8 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.18, allocations: 41.69 kB / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.18, allocations: 0 / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.18, allocations: 8.125 kB / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.1801, allocations: 11.98 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1801, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1803, allocations: 27.97 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1803, allocations: 11.98 kB / 0.7333 GB, free: 11.41 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.0001055/0.1804, allocations: 129.7 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.1804, allocations: 7.953 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.1805, allocations: 12.38 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1805, allocations: 3.984 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1805, allocations: 0 / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1805, allocations: 4 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.181, allocations: 349.7 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.181, allocations: 0 / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.181, allocations: 11.98 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.181, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.181, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.181, allocations: 4 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.181, allocations: 7.875 kB / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1813, allocations: 207.5 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.1814, allocations: 7.953 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1814, allocations: 3.984 kB / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.1815, allocations: 4 kB / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1815, allocations: 15.92 kB / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1815, allocations: 0 / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.1816, allocations: 106.6 kB / 0.7341 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1816, allocations: 0 / 0.7341 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002501/0.1818, allocations: 20 kB / 0.7342 GB, free: 10.46 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.0006418/0.1825, allocations: 0.7475 MB / 0.7349 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1829, allocations: 185.2 kB / 0.7351 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1829, allocations: 8.062 kB / 0.7351 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.183, allocations: 39.91 kB / 0.7351 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1833, allocations: 16.11 kB / 0.7351 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1855, allocations: 1.818 MB / 0.7369 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.1856, allocations: 76.08 kB / 0.737 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.1856, allocations: 7.984 kB / 0.737 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.1857, allocations: 19.44 kB / 0.737 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1857, allocations: 3.938 kB / 0.737 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2144, allocations: 3.224 MB / 0.7401 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.51, allocations: 16.73 kB / 0.7402 GB, free: 4.273 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.135547541081905] Failed to read output from testmodel.py, exit status != 0: 10.615044122794643 10.636821063 10.457229707 Calling exit ...