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.001392/0.001392, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001732/0.001732, allocations: 211.1 kB / 22.99 MB, free: 4.609 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.493/1.493, allocations: 230.6 MB / 256.7 MB, free: 7.801 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 1.036/1.036, allocations: 149.9 MB / 463 MB, free: 10.33 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.002391/0.002391, allocations: 72.86 kB / 0.6415 GB, free: 9.652 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2143, allocations: 89.17 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003163/0.2174, allocations: 1.431 MB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2185, allocations: 435 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.2185, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.2186, allocations: 7.922 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.2187, allocations: 11.92 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.2189, allocations: 19.92 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.219, allocations: 55.78 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2191, allocations: 4 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.2192, allocations: 27.91 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.2193, allocations: 19.86 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2193, allocations: 4 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.2193, allocations: 8 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2194, allocations: 7.938 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.2194, allocations: 19.92 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2196, allocations: 51.75 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2196, allocations: 0 / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2196, allocations: 0 / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2196, allocations: 0 / 0.7306 GB, free: 14.44 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.0007157/0.2203, allocations: 315.9 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2203, allocations: 8.031 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.2204, allocations: 16.94 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2205, allocations: 118.4 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2205, allocations: 384 / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2205, allocations: 4.375 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2207, allocations: 79.7 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2207, allocations: 0 / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2207, allocations: 0 / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2207, allocations: 4 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.2208, allocations: 45.69 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2213, allocations: 216.5 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2214, allocations: 72.16 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.2214, allocations: 46.67 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2215, allocations: 4 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.2218, allocations: 134.7 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2218, allocations: 0 / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0004134/0.2222, allocations: 194.7 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.2223, allocations: 77.11 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2224, allocations: 117.8 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2224, allocations: 25.7 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.2225, allocations: 88.14 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2225, allocations: 27.89 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.2226, allocations: 25.72 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2228, allocations: 318.8 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.2228, allocations: 53.84 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.2229, allocations: 64.22 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.223, allocations: 114 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.223, allocations: 3.938 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002138/0.2233, allocations: 157 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.2233, allocations: 39.02 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2233, allocations: 3.938 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2233, allocations: 3.984 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.2234, allocations: 4 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2234, allocations: 0 / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.2235, allocations: 11.98 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2235, allocations: 0 / 0.7329 GB, free: 11.8 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.0001425/0.2236, allocations: 151.5 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.2236, allocations: 11.94 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2237, allocations: 8.375 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2237, allocations: 4 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2237, allocations: 0 / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2237, allocations: 0 / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.2241, allocations: 369.5 kB / 0.7334 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2241, allocations: 0 / 0.7334 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.2241, allocations: 7.922 kB / 0.7334 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2241, allocations: 4 kB / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2241, allocations: 4.062 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2242, allocations: 480 / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2242, allocations: 0 / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2244, allocations: 266.8 kB / 0.7337 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.2244, allocations: 7.953 kB / 0.7337 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2245, allocations: 7.984 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2246, allocations: 4 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.2246, allocations: 15.92 kB / 0.7337 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2246, allocations: 4 kB / 0.7337 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.2247, allocations: 95.36 kB / 0.7338 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2247, allocations: 3.938 kB / 0.7338 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002535/0.225, allocations: 16 kB / 0.7339 GB, free: 10.74 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.0001069/0.2251, allocations: 105.8 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.2253, allocations: 170.7 kB / 0.7341 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2253, allocations: 0 / 0.7341 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2254, allocations: 109.1 kB / 0.7342 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2258, allocations: 19.38 kB / 0.7342 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.2262, allocations: 187.1 kB / 0.7344 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.2262, allocations: 75.27 kB / 0.7345 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.2263, allocations: 4.125 kB / 0.7345 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.2263, allocations: 11.44 kB / 0.7345 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2263, allocations: 0 / 0.7345 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of Templates: time 0.004078/0.2304, allocations: 0.9463 MB / 0.7354 GB, free: 9.059 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: 5.8672506883740425] Failed to read output from testmodel.py, exit status != 0: 0.23969868011772633 0.256222422 0.033470368 Calling exit ...