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.001283/0.001283, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001442/0.001442, allocations: 217.2 kB / 23.79 MB, free: 4.465 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.408/1.408, allocations: 230.6 MB / 257.6 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.9338/0.9338, allocations: 150 MB / 464 MB, free: 10.64 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.002065/0.002065, allocations: 73.95 kB / 0.6425 GB, free: 9.402 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1912, allocations: 89.17 MB / 0.7296 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002208/0.1934, allocations: 0.7127 MB / 0.7303 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1953, allocations: 1.171 MB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.1953, allocations: 0 / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.1954, allocations: 7.875 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.1955, allocations: 7.875 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.196, allocations: 135.1 kB / 0.7316 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1962, allocations: 119.7 kB / 0.7317 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1963, allocations: 12 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1964, allocations: 51.89 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1966, allocations: 43.88 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1966, allocations: 8 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.1966, allocations: 16 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.1967, allocations: 15.92 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.1968, allocations: 43.89 kB / 0.7319 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.197, allocations: 115.6 kB / 0.732 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.197, allocations: 0 / 0.732 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.197, allocations: 0 / 0.732 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.197, allocations: 0 / 0.732 GB, free: 13.85 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.0006554/0.1976, allocations: 335.8 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1977, allocations: 12.03 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.1977, allocations: 16.89 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1979, allocations: 121.7 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1979, allocations: 4.375 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1979, allocations: 8.359 kB / 0.7325 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1981, allocations: 62.23 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1981, allocations: 192 / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1981, allocations: 3.938 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1981, allocations: 0 / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1983, allocations: 51.89 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1988, allocations: 252.5 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.199, allocations: 62.55 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1991, allocations: 32.91 kB / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1991, allocations: 0 / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.1994, allocations: 95.31 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1994, allocations: 0 / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000466/0.1999, allocations: 137.7 kB / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.1999, allocations: 63.33 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2001, allocations: 117.8 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2001, allocations: 33.7 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.2002, allocations: 88.14 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2002, allocations: 15.89 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.2003, allocations: 41.7 kB / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2004, allocations: 318.8 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2006, allocations: 89.59 kB / 0.7339 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2008, allocations: 114 kB / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.2011, allocations: 141.9 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2011, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/0.2016, allocations: 244.8 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.2016, allocations: 45.62 kB / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2016, allocations: 0 / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2017, allocations: 4 kB / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.2018, allocations: 11.98 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.2018, allocations: 4.125 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.202, allocations: 39.84 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.202, allocations: 15.98 kB / 0.7344 GB, free: 11.07 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.000107/0.2021, allocations: 125.7 kB / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.2021, allocations: 7.953 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2022, allocations: 8.375 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2022, allocations: 0 / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2022, allocations: 3.984 kB / 0.7346 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2022, allocations: 4 kB / 0.7346 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.2026, allocations: 314.4 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2026, allocations: 4 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.2027, allocations: 4 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2027, allocations: 0 / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2027, allocations: 8.047 kB / 0.7349 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2027, allocations: 4 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2027, allocations: 80 / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.203, allocations: 219.3 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.203, allocations: 15.95 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2031, allocations: 0 / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.2031, allocations: 7.984 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.2032, allocations: 7.984 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2032, allocations: 8 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.2032, allocations: 91.27 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002617/0.2035, allocations: 23.94 kB / 0.7353 GB, free: 10.17 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.0001461/0.2037, allocations: 103.2 kB / 0.7354 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.2041, allocations: 188.9 kB / 0.7355 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2041, allocations: 4 kB / 0.7356 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2042, allocations: 43.84 kB / 0.7356 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2045, allocations: 20.17 kB / 0.7356 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2048, allocations: 163.8 kB / 0.7358 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.992e-05/0.2049, allocations: 71.33 kB / 0.7358 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.2049, allocations: 7.859 kB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.205, allocations: 11.44 kB / 0.7359 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.205, allocations: 0 / 0.7359 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of Templates: time 0.004568/0.2095, allocations: 1.606 MB / 0.7374 GB, free: 7.93 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.41569339716807] Failed to read output from testmodel.py, exit status != 0: 0.21796074602752924 0.23579426999999994 0.035050738000000005 Calling exit ...