Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.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.00142/0.00142, allocations: 105 kB / 20.44 MB, free: 1.504 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.002061/0.002061, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.9619/0.9619, allocations: 150 MB / 463.9 MB, free: 10.47 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [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.003126/0.003126, allocations: 66.31 kB / 0.6425 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1838, allocations: 89.17 MB / 0.7295 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002653/0.1864, allocations: 1.448 MB / 0.7309 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.1873, allocations: 486.8 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1874, allocations: 0 / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.1874, allocations: 3.938 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.1875, allocations: 7.922 kB / 0.7314 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1876, allocations: 23.92 kB / 0.7314 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1878, allocations: 43.86 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.1879, allocations: 15.98 kB / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.1879, allocations: 19.92 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.188, allocations: 19.92 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.188, allocations: 7.938 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.188, allocations: 4 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.1881, allocations: 11.92 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.1881, allocations: 19.94 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1882, allocations: 47.75 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1882, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1882, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.1882, allocations: 4 kB / 0.7316 GB, free: 14.62 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.0005897/0.1888, allocations: 323.8 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1889, allocations: 8.031 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1889, allocations: 4.938 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.189, allocations: 110.5 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.189, allocations: 4.375 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.189, allocations: 4.375 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1892, allocations: 61.92 kB / 0.7321 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1892, allocations: 3.938 kB / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1892, allocations: 0 / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1892, allocations: 0 / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.1892, allocations: 20 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1896, allocations: 243.9 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.1897, allocations: 38.56 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.1898, allocations: 24.91 kB / 0.7324 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1898, allocations: 4 kB / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.19, allocations: 97.05 kB / 0.7325 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.19, allocations: 0 / 0.7325 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002808/0.1903, allocations: 143.3 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1903, allocations: 77.11 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.1904, allocations: 117.8 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1904, allocations: 29.7 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.1905, allocations: 92.06 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1905, allocations: 19.91 kB / 0.733 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1906, allocations: 29.7 kB / 0.733 GB, free: 13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1907, allocations: 318.8 kB / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.1908, allocations: 23.98 kB / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.1908, allocations: 30.58 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1909, allocations: 117.9 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1909, allocations: 0 / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001701/0.1911, allocations: 123.3 kB / 0.7336 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.1911, allocations: 37.69 kB / 0.7336 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1911, allocations: 0 / 0.7336 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1911, allocations: 4 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.104e-05/0.1912, allocations: 3.938 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.1912, allocations: 8.062 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.1913, allocations: 7.984 kB / 0.7337 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1913, allocations: 8.375 kB / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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.0001217/0.1914, allocations: 147.5 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.1914, allocations: 3.953 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.1914, allocations: 12.38 kB / 0.7338 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1914, allocations: 3.938 kB / 0.7338 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1914, allocations: 3.984 kB / 0.7338 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1914, allocations: 4 kB / 0.7338 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1919, allocations: 375.6 kB / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1919, allocations: 0 / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.1919, allocations: 4 kB / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1919, allocations: 0 / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1919, allocations: 0 / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1919, allocations: 0 / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1919, allocations: 4 kB / 0.7342 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1921, allocations: 237.1 kB / 0.7344 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.1921, allocations: 11.89 kB / 0.7344 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1922, allocations: 7.984 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.1923, allocations: 4 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1923, allocations: 11.92 kB / 0.7345 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1923, allocations: 8 kB / 0.7345 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.1924, allocations: 91.41 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002289/0.1926, allocations: 16 kB / 0.7346 GB, free: 11.25 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.000119/0.1927, allocations: 107.2 kB / 0.7347 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1929, allocations: 111.4 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1929, allocations: 0 / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.193, allocations: 87.31 kB / 0.7349 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1933, allocations: 9.203 kB / 0.7349 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.1937, allocations: 187.2 kB / 0.7351 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.194, allocations: 0.6923 MB / 0.7357 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.194, allocations: 15.38 kB / 0.7358 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.194, allocations: 0 / 0.7358 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of Templates: time 0.002478/0.1965, allocations: 0.8996 MB / 0.7366 GB, free: 9.066 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.887543892953545] Failed to read output from testmodel.py, exit status != 0: 0.20688817300833762 0.22116965500000002 0.029740573000000003 Calling exit ...