Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001823/0.001823, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002524/0.002524, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9955/0.9955, allocations: 149.9 MB / 459.5 MB, free: 5.332 MB / 350.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [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.002018/0.002018, allocations: 78.58 kB / 0.6366 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1805, allocations: 89.13 MB / 0.7236 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002012/0.1825, allocations: 0.6629 MB / 0.7243 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1842, allocations: 1.239 MB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.1843, allocations: 0 / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.1843, allocations: 3.938 kB / 0.7255 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.1844, allocations: 7.922 kB / 0.7255 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.1851, allocations: 223.2 kB / 0.7257 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1854, allocations: 179.7 kB / 0.7259 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1855, allocations: 8 kB / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1856, allocations: 71.88 kB / 0.726 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1857, allocations: 67.83 kB / 0.726 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1858, allocations: 16 kB / 0.726 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.1859, allocations: 27.98 kB / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.1859, allocations: 11.94 kB / 0.7261 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.186, allocations: 67.75 kB / 0.7261 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1862, allocations: 151.6 kB / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1863, allocations: 0 / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1863, allocations: 0 / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.1863, allocations: 0 / 0.7263 GB, free: 0.7891 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007056/0.187, allocations: 446.6 kB / 0.7267 GB, free: 300 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.187, allocations: 8.031 kB / 0.7267 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1871, allocations: 12.89 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1872, allocations: 172.3 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1873, allocations: 12.36 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.1873, allocations: 8.375 kB / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1875, allocations: 57.61 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1875, allocations: 0 / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1875, allocations: 0 / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1875, allocations: 7.938 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.1875, allocations: 16 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1882, allocations: 360.6 kB / 0.7273 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1883, allocations: 34.56 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.1883, allocations: 12.86 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.1883, allocations: 7.938 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.1885, allocations: 95.39 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1885, allocations: 0 / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003252/0.1888, allocations: 125.5 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.1889, allocations: 51.41 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.189, allocations: 129.2 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.1891, allocations: 33.7 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.1892, allocations: 88.38 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1892, allocations: 23.89 kB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1893, allocations: 49.69 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1895, allocations: 326.8 kB / 0.7283 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1896, allocations: 63.95 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1898, allocations: 105.9 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1901, allocations: 181.3 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1901, allocations: 0 / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005415/0.1906, allocations: 296.8 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.1907, allocations: 71.33 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1907, allocations: 4 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1907, allocations: 0 / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.1908, allocations: 11.98 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1908, allocations: 7.984 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.1911, allocations: 59.98 kB / 0.729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1912, allocations: 19.98 kB / 0.7291 GB, free: 13.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001187/0.1913, allocations: 125.7 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1913, allocations: 7.953 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.1914, allocations: 8.375 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1914, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1914, allocations: 4 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1914, allocations: 4.359 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.1918, allocations: 362.4 kB / 0.7295 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1918, allocations: 4 kB / 0.7296 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.1918, allocations: 0 / 0.7296 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1918, allocations: 0 / 0.7296 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1918, allocations: 4 kB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1918, allocations: 3.984 kB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1918, allocations: 3.938 kB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.192, allocations: 195.4 kB / 0.7297 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1921, allocations: 89.06 kB / 0.7298 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1921, allocations: 0 / 0.7298 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.1921, allocations: 7.984 kB / 0.7298 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1922, allocations: 7.938 kB / 0.7298 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1922, allocations: 4 kB / 0.7299 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001109/0.1923, allocations: 95.2 kB / 0.7299 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1923, allocations: 0 / 0.7299 GB, free: 12.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002773/0.1926, allocations: 32 kB / 0.73 GB, free: 12.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001856/0.1928, allocations: 111.2 kB / 0.7301 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.1931, allocations: 226.7 kB / 0.7303 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1932, allocations: 0 / 0.7303 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.1932, allocations: 35.86 kB / 0.7303 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1935, allocations: 17.61 kB / 0.7303 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.1939, allocations: 178.6 kB / 0.7305 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1942, allocations: 0.6885 MB / 0.7312 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1943, allocations: 8.656 kB / 0.7312 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.1943, allocations: 15.38 kB / 0.7312 GB, free: 11.24 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1943, allocations: 0 / 0.7312 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Templates: time 0.005142/0.1994, allocations: 1.924 MB / 0.7331 GB, free: 9.336 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.307101782876998] Failed to read output from testmodel.py, exit status != 0: 0.20710343192331493 0.222262074 0.033001389 Calling exit ...