Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001977/0.001977, 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.002199/0.002199, allocations: 218.9 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.9523/0.9523, allocations: 149.9 MB / 463 MB, free: 10.36 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.002043/0.002043, allocations: 78.09 kB / 0.6415 GB, free: 9.605 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.179, allocations: 89.17 MB / 0.7286 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002159/0.1812, allocations: 0.6407 MB / 0.7292 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1828, allocations: 1.081 MB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1829, allocations: 4 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.1829, allocations: 3.938 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.183, allocations: 11.91 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1834, allocations: 43.84 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1835, allocations: 43.91 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1836, allocations: 11.98 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.1837, allocations: 15.94 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.1837, allocations: 19.91 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1837, allocations: 4 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.1838, allocations: 23.92 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.1839, allocations: 15.98 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1839, allocations: 15.92 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1841, allocations: 63.72 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1841, allocations: 0 / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1841, allocations: 0 / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1841, allocations: 0 / 0.7306 GB, free: 14.49 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.0006688/0.1847, allocations: 290.2 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1848, allocations: 11.97 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.1849, allocations: 16.88 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.185, allocations: 110.5 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.185, allocations: 384 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.185, allocations: 8.375 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1852, allocations: 62.16 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1852, allocations: 192 / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1852, allocations: 7.938 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1853, allocations: 4 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1854, allocations: 39.95 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1858, allocations: 220.5 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.186, allocations: 54.48 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1861, allocations: 36.89 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1861, allocations: 0 / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1863, allocations: 71.38 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1863, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000424/0.1868, allocations: 121.6 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1868, allocations: 59.34 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.1869, allocations: 109.7 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1869, allocations: 29.7 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.187, allocations: 84.14 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.187, allocations: 11.91 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.187, allocations: 25.7 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1872, allocations: 314.8 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1873, allocations: 27.97 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1874, allocations: 51.41 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1876, allocations: 83.31 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1876, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002673/0.1879, allocations: 109.5 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1879, allocations: 4 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1879, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1879, allocations: 4 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.188, allocations: 15.92 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.188, allocations: 4 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.1881, allocations: 15.94 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1881, allocations: 4.5 kB / 0.7325 GB, free: 12.32 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: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 9.783e-05/0.1882, allocations: 125.8 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1882, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.1885, allocations: 110 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1885, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1885, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1885, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.189, allocations: 302 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.189, allocations: 4 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.1891, allocations: 7.984 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1891, allocations: 4 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1891, allocations: 3.938 kB / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1891, allocations: 0 / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1891, allocations: 0 / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.1894, allocations: 195.4 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.1894, allocations: 3.953 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1895, allocations: 4 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1896, allocations: 15.98 kB / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1896, allocations: 0 / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1896, allocations: 7.938 kB / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.1897, allocations: 87.27 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002479/0.1899, allocations: 12 kB / 0.7333 GB, free: 11.39 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001798/0.1901, allocations: 107.2 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1904, allocations: 63.88 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1904, allocations: 4 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1905, allocations: 28.3 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1908, allocations: 11.98 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.1912, allocations: 142.2 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.1913, allocations: 67.52 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.1913, allocations: 8 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1913, allocations: 11.44 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1913, allocations: 0 / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.003675/0.195, allocations: 0.8447 MB / 0.7346 GB, free: 10.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.731337625533342] Failed to read output from testmodel.py, exit status != 0: 0.20335550792515278 0.217172889 0.030159348000000002 Calling exit ...