Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.00133/0.00133, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.00149/0.00149, allocations: 161.7 kB / 23.76 MB, free: 4.199 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.448/1.448, allocations: 177.2 MB / 204.1 MB, free: 9.035 MB / 190.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.9266/0.9266, allocations: 113.9 MB / 374.5 MB, free: 13.36 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.002181/0.002181, allocations: 72.19 kB / 0.5551 GB, free: 2.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1804, allocations: 89.15 MB / 0.6421 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002235/0.1826, allocations: 0.7015 MB / 0.6428 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1842, allocations: 1.089 MB / 0.6439 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.1842, allocations: 4 kB / 0.6439 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.1842, allocations: 7.875 kB / 0.6439 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.1843, allocations: 11.88 kB / 0.6439 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1847, allocations: 55.88 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1848, allocations: 67.78 kB / 0.644 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1849, allocations: 20.17 kB / 0.644 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.185, allocations: 35.84 kB / 0.6441 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.154e-05/0.1851, allocations: 23.91 kB / 0.6441 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1851, allocations: 4 kB / 0.6441 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.1852, allocations: 16 kB / 0.6441 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.1852, allocations: 23.91 kB / 0.6441 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1853, allocations: 27.86 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1854, allocations: 83.62 kB / 0.6442 GB, free: 7.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1854, allocations: 0 / 0.6442 GB, free: 7.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1854, allocations: 0 / 0.6442 GB, free: 7.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1854, allocations: 3.938 kB / 0.6442 GB, free: 7.406 MB / 0.545 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.0006218/0.1861, allocations: 298.1 kB / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1861, allocations: 15.95 kB / 0.6445 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1862, allocations: 8.891 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1863, allocations: 114.5 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1863, allocations: 8.375 kB / 0.6447 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1863, allocations: 4.375 kB / 0.6447 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1865, allocations: 66.22 kB / 0.6447 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1865, allocations: 3.938 kB / 0.6447 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1866, allocations: 0 / 0.6447 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1866, allocations: 0 / 0.6447 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1867, allocations: 47.89 kB / 0.6448 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.1874, allocations: 264.3 kB / 0.645 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1876, allocations: 54.59 kB / 0.6451 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1877, allocations: 28.95 kB / 0.6451 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1877, allocations: 4 kB / 0.6451 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1879, allocations: 79.36 kB / 0.6452 GB, free: 6.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.596e-06/0.1879, allocations: 3.984 kB / 0.6452 GB, free: 6.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004505/0.1884, allocations: 137.7 kB / 0.6453 GB, free: 6.172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1884, allocations: 59.41 kB / 0.6454 GB, free: 6.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1885, allocations: 113.8 kB / 0.6455 GB, free: 5.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1886, allocations: 33.69 kB / 0.6455 GB, free: 5.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1886, allocations: 92.09 kB / 0.6456 GB, free: 5.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1887, allocations: 15.89 kB / 0.6456 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.1887, allocations: 29.7 kB / 0.6456 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1889, allocations: 326.8 kB / 0.646 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.189, allocations: 27.98 kB / 0.646 GB, free: 5.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1891, allocations: 73.97 kB / 0.6461 GB, free: 5.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1894, allocations: 109.9 kB / 0.6462 GB, free: 5.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1894, allocations: 0 / 0.6462 GB, free: 5.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003566/0.1897, allocations: 133.5 kB / 0.6463 GB, free: 5.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1897, allocations: 8 kB / 0.6463 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1897, allocations: 80 / 0.6463 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1898, allocations: 4.219 kB / 0.6463 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1899, allocations: 23.92 kB / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1899, allocations: 7.984 kB / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.19, allocations: 15.86 kB / 0.6463 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.19, allocations: 4 kB / 0.6464 GB, free: 5.02 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: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001045/0.1901, allocations: 125.1 kB / 0.6465 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.1901, allocations: 7.953 kB / 0.6465 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.1902, allocations: 12.42 kB / 0.6465 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1902, allocations: 0 / 0.6465 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1902, allocations: 0 / 0.6465 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1902, allocations: 4 kB / 0.6465 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1907, allocations: 322 kB / 0.6468 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1907, allocations: 0 / 0.6468 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.1907, allocations: 7.984 kB / 0.6468 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1907, allocations: 0 / 0.6468 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1907, allocations: 4 kB / 0.6468 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1907, allocations: 0 / 0.6468 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1907, allocations: 3.938 kB / 0.6468 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1911, allocations: 215.4 kB / 0.647 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.1911, allocations: 7.891 kB / 0.647 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1911, allocations: 4 kB / 0.647 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.1912, allocations: 7.984 kB / 0.647 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1912, allocations: 4 kB / 0.647 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1912, allocations: 11.94 kB / 0.6471 GB, free: 4.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.1913, allocations: 91.92 kB / 0.6471 GB, free: 4.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1913, allocations: 0 / 0.6471 GB, free: 4.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002668/0.1916, allocations: 12 kB / 0.6472 GB, free: 4.137 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001468/0.1917, allocations: 111.2 kB / 0.6473 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.192, allocations: 71.83 kB / 0.6473 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.192, allocations: 0 / 0.6473 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1921, allocations: 31.97 kB / 0.6474 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1924, allocations: 23.5 kB / 0.6474 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.1928, allocations: 154.1 kB / 0.6475 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.691e-05/0.1929, allocations: 75.28 kB / 0.6476 GB, free: 3.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.1929, allocations: 11.92 kB / 0.6476 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.1929, allocations: 16.5 kB / 0.6476 GB, free: 3.594 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1929, allocations: 0 / 0.6476 GB, free: 3.594 MB / 0.545 GB Notification: Performance of Templates: time 0.004209/0.1971, allocations: 1.007 MB / 0.6486 GB, free: 2.605 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.372884943964891] Failed to read output from testmodel.py, exit status != 0: 0.2058343830285594 0.220986483 0.032453358 Calling exit ...