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.001397/0.001397, 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.003323/0.003323, allocations: 216.7 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9997/0.9997, allocations: 150 MB / 464 MB, free: 10.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.002067/0.002067, allocations: 65.92 kB / 0.642 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1744, allocations: 89.17 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002136/0.1766, allocations: 0.7148 MB / 0.7297 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1783, allocations: 1.159 MB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1783, allocations: 7.938 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.1784, allocations: 3.938 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.1784, allocations: 7.922 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.179, allocations: 146.6 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1792, allocations: 115.8 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.1793, allocations: 15.98 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1794, allocations: 47.89 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1795, allocations: 47.83 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.1795, allocations: 12 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.1796, allocations: 27.92 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.1796, allocations: 11.97 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.1797, allocations: 35.86 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1799, allocations: 115.9 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1799, allocations: 4 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1799, allocations: 0 / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1799, allocations: 0 / 0.7315 GB, free: 14.31 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.0006198/0.1805, allocations: 343.7 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1806, allocations: 8.031 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.1806, allocations: 192 / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.1806, allocations: 38.75 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.1807, allocations: 12.88 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1808, allocations: 122.4 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1808, allocations: 4.375 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.1808, allocations: 16.38 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1811, allocations: 69.97 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1811, allocations: 0 / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1811, allocations: 0 / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1811, allocations: 0 / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1813, allocations: 47.89 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.1818, allocations: 283.8 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.182, allocations: 62.55 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1821, allocations: 24.97 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.1821, allocations: 4 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.1824, allocations: 95.42 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.1824, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005068/0.1829, allocations: 145.5 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.183, allocations: 55.39 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1831, allocations: 123.3 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1831, allocations: 33.7 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.1832, allocations: 92.12 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1832, allocations: 23.78 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.1833, allocations: 37.7 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1835, allocations: 322.8 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1837, allocations: 81.66 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1839, allocations: 122 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.1842, allocations: 142.2 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1842, allocations: 0 / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005035/0.1847, allocations: 244.8 kB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.1847, allocations: 37.69 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1848, allocations: 0 / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1848, allocations: 4 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1849, allocations: 15.92 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1849, allocations: 3.938 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1851, allocations: 35.95 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1851, allocations: 12.12 kB / 0.734 GB, free: 11.43 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.000111/0.1852, allocations: 124 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.1853, allocations: 3.953 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.1853, allocations: 16.36 kB / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1853, allocations: 0 / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1853, allocations: 0 / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1853, allocations: 0 / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.1859, allocations: 345.5 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1859, allocations: 4 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.1859, allocations: 7.984 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1859, allocations: 4 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1859, allocations: 4 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1859, allocations: 0 / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.186, allocations: 7.875 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1863, allocations: 207.4 kB / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.1863, allocations: 11.88 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1863, allocations: 12 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1864, allocations: 4 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1865, allocations: 11.91 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1865, allocations: 4 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.1865, allocations: 92.03 kB / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1865, allocations: 0 / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002821/0.1868, allocations: 24 kB / 0.7348 GB, free: 10.49 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.0006835/0.1875, allocations: 0.7553 MB / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.1879, allocations: 193 kB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1879, allocations: 0 / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1881, allocations: 35.97 kB / 0.7358 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1884, allocations: 21.23 kB / 0.7358 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1908, allocations: 1.833 MB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.1909, allocations: 67.34 kB / 0.7377 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.1909, allocations: 11.92 kB / 0.7377 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.191, allocations: 23.44 kB / 0.7377 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.191, allocations: 3.938 kB / 0.7377 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.2153, allocations: 2.837 MB / 0.7405 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 10.45 kB / 0.7405 GB, free: 4.68 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 os._exit(0), Time elapsed: 15.46567122603301] Failed to read output from testmodel.py, exit status != 0: 11.663262755027972 11.680690009 11.497471868 Calling exit ...