Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001259/0.001259, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001463/0.001463, allocations: 212.3 kB / 23.75 MB, free: 4.445 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.9736/0.9736, allocations: 149.9 MB / 463.8 MB, free: 10.32 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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [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.00208/0.00208, allocations: 66.31 kB / 0.6423 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1781, allocations: 89.17 MB / 0.7294 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001996/0.1801, allocations: 0.6296 MB / 0.73 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1818, allocations: 1.174 MB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.1819, allocations: 4 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.1819, allocations: 3.938 kB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.182, allocations: 7.875 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.1825, allocations: 146.9 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1827, allocations: 147.7 kB / 0.7315 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.1828, allocations: 15.94 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1829, allocations: 63.89 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1831, allocations: 43.86 kB / 0.7316 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.1831, allocations: 15.98 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.1832, allocations: 20 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.1832, allocations: 23.92 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.1833, allocations: 51.83 kB / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1835, allocations: 131.6 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1835, allocations: 0 / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1835, allocations: 0 / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1835, allocations: 0 / 0.7318 GB, free: 14.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006378/0.1841, allocations: 347.8 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1842, allocations: 12.03 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1842, allocations: 8.938 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1846, allocations: 150.6 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1847, allocations: 8.359 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1847, allocations: 12.38 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1849, allocations: 90.12 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1849, allocations: 3.938 kB / 0.7324 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1849, allocations: 8 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1849, allocations: 0 / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.185, allocations: 39.97 kB / 0.7325 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1856, allocations: 280.3 kB / 0.7327 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1858, allocations: 82.48 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.1859, allocations: 28.84 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1859, allocations: 0 / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.1861, allocations: 135.3 kB / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1861, allocations: 0 / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004213/0.1866, allocations: 205.6 kB / 0.7331 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1866, allocations: 59.41 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1867, allocations: 105.8 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.1868, allocations: 33.7 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.1868, allocations: 92.09 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.1869, allocations: 31.92 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.187, allocations: 49.69 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1871, allocations: 326.8 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1872, allocations: 73.67 kB / 0.7339 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1874, allocations: 132.1 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1876, allocations: 133.3 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1876, allocations: 3.938 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003934/0.188, allocations: 241 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.1881, allocations: 43.75 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1881, allocations: 3.938 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1881, allocations: 0 / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.1882, allocations: 8 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1882, allocations: 4 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1884, allocations: 39.89 kB / 0.7345 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1884, allocations: 8 kB / 0.7345 GB, free: 11.05 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001337/0.1885, allocations: 137.7 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.1886, allocations: 7.953 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.1886, allocations: 8.438 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1886, allocations: 4 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1886, allocations: 0 / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1886, allocations: 0 / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.1891, allocations: 382 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1891, allocations: 0 / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.1891, allocations: 4 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1891, allocations: 0 / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1891, allocations: 7.984 kB / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1891, allocations: 4 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1891, allocations: 0 / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1894, allocations: 267.4 kB / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.1894, allocations: 15.88 kB / 0.7353 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1895, allocations: 11.98 kB / 0.7353 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.1896, allocations: 4 kB / 0.7353 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1896, allocations: 23.91 kB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1896, allocations: 7.984 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.1897, allocations: 83.28 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1897, allocations: 0 / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002824/0.19, allocations: 39.98 kB / 0.7354 GB, free: 10 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001592/0.1901, allocations: 103.2 kB / 0.7355 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.1905, allocations: 211.8 kB / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1905, allocations: 0 / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1906, allocations: 55.92 kB / 0.7358 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1909, allocations: 15.92 kB / 0.7358 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1914, allocations: 220.5 kB / 0.736 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.1914, allocations: 79.31 kB / 0.7361 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.1915, allocations: 11.44 kB / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1915, allocations: 0 / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of Templates: time 0.003509/0.195, allocations: 1.462 MB / 0.7375 GB, free: 7.789 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.991736132185906] Failed to read output from testmodel.py, exit status != 0: 0.20346362283453345 0.219180697 0.032444952 Calling exit ...