Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001722/0.001722, 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.001432/0.001432, allocations: 209 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9843/0.9843, allocations: 149.9 MB / 463 MB, free: 10.29 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.002071/0.002071, allocations: 66.36 kB / 0.6415 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1791, allocations: 89.18 MB / 0.7286 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002092/0.1812, allocations: 0.6919 MB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.183, allocations: 1.213 MB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.183, allocations: 0 / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.1831, allocations: 3.938 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.1831, allocations: 19.92 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.1837, allocations: 146.5 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1839, allocations: 115.8 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.184, allocations: 8 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1841, allocations: 47.89 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.1842, allocations: 39.83 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1842, allocations: 12 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.1843, allocations: 31.91 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1844, allocations: 15.98 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1844, allocations: 35.92 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1846, allocations: 119.6 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1846, allocations: 0 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1846, allocations: 0 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.1846, allocations: 0 / 0.731 GB, free: 13.97 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.0005995/0.1852, allocations: 331.8 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1853, allocations: 12.03 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.1854, allocations: 8.891 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1855, allocations: 114.5 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1855, allocations: 8.375 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1855, allocations: 8.375 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1857, allocations: 70.14 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1857, allocations: 192 / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1857, allocations: 7.875 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1857, allocations: 7.938 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.1859, allocations: 43.94 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.1864, allocations: 252.5 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1866, allocations: 58.42 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1867, allocations: 28.92 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1867, allocations: 0 / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.187, allocations: 87.42 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.187, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004667/0.1874, allocations: 145.5 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1875, allocations: 55.41 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1876, allocations: 109.8 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1877, allocations: 33.7 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1878, allocations: 92.12 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1878, allocations: 19.84 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.1879, allocations: 37.7 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1881, allocations: 318.8 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1882, allocations: 77.66 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1884, allocations: 109.1 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.1887, allocations: 133 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1887, allocations: 0 / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004784/0.1892, allocations: 232.8 kB / 0.7333 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.1893, allocations: 41.75 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1893, allocations: 0 / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1893, allocations: 0 / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1894, allocations: 15.98 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1894, allocations: 4 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1896, allocations: 35.89 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1896, allocations: 4 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001246/0.1897, allocations: 125.8 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1898, allocations: 8.422 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1901, allocations: 117.9 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1901, allocations: 0 / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1901, allocations: 3.938 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1901, allocations: 4 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1905, allocations: 306 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1905, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.1906, allocations: 15.98 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1906, allocations: 0 / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1906, allocations: 4 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.1906, allocations: 7.984 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1906, allocations: 0 / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1909, allocations: 203.4 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.1909, allocations: 0 / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1909, allocations: 4.094 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.191, allocations: 15.98 kB / 0.7342 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1911, allocations: 3.984 kB / 0.7342 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1911, allocations: 7.984 kB / 0.7342 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.1911, allocations: 91.22 kB / 0.7343 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1911, allocations: 0 / 0.7343 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002532/0.1914, allocations: 23.94 kB / 0.7343 GB, free: 10.29 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001395/0.1915, allocations: 111.2 kB / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.1919, allocations: 185 kB / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1919, allocations: 0 / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1921, allocations: 31.97 kB / 0.7347 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1923, allocations: 16.69 kB / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.1927, allocations: 162.7 kB / 0.7348 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.1928, allocations: 67.47 kB / 0.7349 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.1928, allocations: 11.98 kB / 0.7349 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1928, allocations: 11.72 kB / 0.7349 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1928, allocations: 0 / 0.7349 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.004675/0.1975, allocations: 1.542 MB / 0.7364 GB, free: 8.117 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.75271088629961] Failed to read output from testmodel.py, exit status != 0: 0.2065467331558466 0.221692977 0.033869707 Calling exit ...