Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001606/0.001606, allocations: 105.2 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.00182/0.00182, allocations: 213.8 kB / 23.76 MB, free: 4.723 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.9862/0.9862, allocations: 150 MB / 463.9 MB, free: 10.49 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [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.002287/0.002287, allocations: 63.25 kB / 0.6425 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1996, allocations: 89.17 MB / 0.7296 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.003023/0.2026, allocations: 0.7383 MB / 0.7303 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.2053, allocations: 1.182 MB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.2054, allocations: 4 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.2054, allocations: 7.922 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2055, allocations: 11.88 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.2064, allocations: 141.7 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.2068, allocations: 115.8 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.207, allocations: 8 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2072, allocations: 55.83 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2074, allocations: 43.83 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.2074, allocations: 12 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2076, allocations: 23.98 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.2076, allocations: 19.98 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2077, allocations: 39.84 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.2081, allocations: 115.6 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2081, allocations: 0 / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2081, allocations: 0 / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2081, allocations: 4 kB / 0.732 GB, free: 14.26 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.0008496/0.2089, allocations: 331.8 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.209, allocations: 8.031 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.2091, allocations: 8.891 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2092, allocations: 126.4 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2092, allocations: 4.312 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2093, allocations: 12.36 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2096, allocations: 62.22 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2096, allocations: 192 / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2096, allocations: 11.88 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2096, allocations: 0 / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.2099, allocations: 43.95 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.2106, allocations: 299.8 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2109, allocations: 62.48 kB / 0.733 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.211, allocations: 28.97 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2111, allocations: 4 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.2114, allocations: 91.31 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.2114, allocations: 0 / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006816/0.2121, allocations: 141.6 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.2122, allocations: 59.39 kB / 0.7333 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2123, allocations: 117.8 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2124, allocations: 33.7 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.2124, allocations: 92.12 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.2125, allocations: 15.91 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2126, allocations: 37.7 kB / 0.7336 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2128, allocations: 314.8 kB / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.2131, allocations: 51.97 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2134, allocations: 88.25 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.2138, allocations: 158 kB / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2138, allocations: 0 / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007613/0.2146, allocations: 211.2 kB / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.2146, allocations: 33.7 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2147, allocations: 0 / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2147, allocations: 128 / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2148, allocations: 23.98 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2148, allocations: 4 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.2152, allocations: 43.84 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2152, allocations: 8 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001504/0.2154, allocations: 117.8 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2154, allocations: 7.953 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.2154, allocations: 16.36 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2154, allocations: 7.938 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2154, allocations: 0 / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2154, allocations: 0 / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.2162, allocations: 341.5 kB / 0.7349 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2162, allocations: 3.984 kB / 0.7349 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.2163, allocations: 15.98 kB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2163, allocations: 4 kB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2163, allocations: 0 / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2163, allocations: 0 / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2163, allocations: 7.922 kB / 0.7349 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.2167, allocations: 211.3 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.2168, allocations: 7.953 kB / 0.7352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2168, allocations: 12 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2169, allocations: 7.984 kB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.217, allocations: 0 / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.217, allocations: 15.92 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.2171, allocations: 89.91 kB / 0.7353 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2171, allocations: 0 / 0.7353 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005015/0.2176, allocations: 23.94 kB / 0.7353 GB, free: 10.6 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001901/0.2178, allocations: 107.2 kB / 0.7354 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.2184, allocations: 167.3 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2184, allocations: 3.938 kB / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.2186, allocations: 31.97 kB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.2191, allocations: 12 kB / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.2196, allocations: 192.7 kB / 0.7358 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.2201, allocations: 0.6846 MB / 0.7365 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.2201, allocations: 11.44 kB / 0.7365 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2201, allocations: 0 / 0.7365 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.004668/0.2248, allocations: 1.26 MB / 0.7377 GB, free: 8.059 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9299597919452935] Failed to read output from testmodel.py, exit status != 0: 0.23494488513097167 0.259989177 0.047033859000000004 Calling exit ...