Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.00151/0.00151, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001692/0.001692, allocations: 210.8 kB / 22.99 MB, free: 4.977 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.984/0.984, allocations: 149.9 MB / 463.1 MB, free: 10.79 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.002257/0.002257, allocations: 69.12 kB / 0.6411 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.182, allocations: 89.17 MB / 0.7282 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002193/0.1842, allocations: 0.7016 MB / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1861, allocations: 1.276 MB / 0.7301 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.1861, allocations: 0 / 0.7301 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.1862, allocations: 7.875 kB / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.1863, allocations: 27.78 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.187, allocations: 252.3 kB / 0.7304 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.1874, allocations: 251.6 kB / 0.7306 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1875, allocations: 16.16 kB / 0.7306 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1877, allocations: 99.86 kB / 0.7307 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1878, allocations: 83.69 kB / 0.7308 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1879, allocations: 24 kB / 0.7308 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.188, allocations: 35.98 kB / 0.7309 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1881, allocations: 31.91 kB / 0.7309 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1882, allocations: 79.81 kB / 0.731 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1885, allocations: 227.6 kB / 0.7312 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1885, allocations: 4 kB / 0.7312 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1885, allocations: 0 / 0.7312 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1885, allocations: 0 / 0.7312 GB, free: 14.01 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007689/0.1893, allocations: 429.2 kB / 0.7316 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1893, allocations: 12.03 kB / 0.7316 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.1894, allocations: 42.67 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.1894, allocations: 16.89 kB / 0.7317 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.19, allocations: 194.5 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.1901, allocations: 16.38 kB / 0.7319 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.1901, allocations: 20.36 kB / 0.7319 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.1904, allocations: 135.5 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1904, allocations: 4 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1904, allocations: 4 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1904, allocations: 0 / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1906, allocations: 55.95 kB / 0.7321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.1914, allocations: 463.8 kB / 0.7325 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1917, allocations: 133.2 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.1918, allocations: 61.66 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1918, allocations: 4 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.1922, allocations: 204.9 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1922, allocations: 0 / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006022/0.1928, allocations: 313.4 kB / 0.7332 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.1928, allocations: 85.05 kB / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.193, allocations: 136.6 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.193, allocations: 37.7 kB / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.1931, allocations: 104.7 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.1932, allocations: 47.64 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1933, allocations: 69.69 kB / 0.7337 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1934, allocations: 334.8 kB / 0.734 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1937, allocations: 139.6 kB / 0.7341 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1939, allocations: 223.6 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.1943, allocations: 247 kB / 0.7346 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1943, allocations: 0 / 0.7346 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006696/0.195, allocations: 428 kB / 0.735 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.195, allocations: 65.64 kB / 0.735 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.195, allocations: 4 kB / 0.735 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1951, allocations: 7.984 kB / 0.735 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1952, allocations: 27.86 kB / 0.7351 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1952, allocations: 7.938 kB / 0.7351 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.1955, allocations: 68.05 kB / 0.7351 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1956, allocations: 19.98 kB / 0.7352 GB, free: 9.562 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001656/0.1957, allocations: 139.8 kB / 0.7353 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1958, allocations: 15.91 kB / 0.7353 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.1958, allocations: 12.44 kB / 0.7353 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1958, allocations: 7.938 kB / 0.7353 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1958, allocations: 0 / 0.7353 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1959, allocations: 3.984 kB / 0.7353 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.1966, allocations: 0.5834 MB / 0.7359 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1966, allocations: 0 / 0.7359 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.1966, allocations: 8 kB / 0.7359 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1966, allocations: 7.875 kB / 0.7359 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1967, allocations: 11.98 kB / 0.7359 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1967, allocations: 0 / 0.7359 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1967, allocations: 4 kB / 0.7359 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.1972, allocations: 432.1 kB / 0.7363 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.1972, allocations: 7.953 kB / 0.7364 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.1972, allocations: 15.92 kB / 0.7364 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1974, allocations: 15.98 kB / 0.7364 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.1974, allocations: 23.95 kB / 0.7364 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1975, allocations: 12 kB / 0.7364 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.1975, allocations: 102 kB / 0.7365 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1975, allocations: 0 / 0.7365 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003859/0.1979, allocations: 55.98 kB / 0.7366 GB, free: 8.051 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009005/0.1988, allocations: 0.9746 MB / 0.7375 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.1994, allocations: 382 kB / 0.7379 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1994, allocations: 4 kB / 0.7379 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1996, allocations: 87.91 kB / 0.738 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2, allocations: 27.97 kB / 0.738 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.2031, allocations: 2.533 MB / 0.7405 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.2032, allocations: 96.8 kB / 0.7406 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.213e-05/0.2033, allocations: 13.48 kB / 0.7406 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.2034, allocations: 43.42 kB / 0.7406 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2034, allocations: 0 / 0.7406 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.2389, allocations: 4.915 MB / 0.7454 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 9.125 kB / 0.7454 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.437516222707927] Failed to read output from testmodel.py, exit status != 0: 11.554182833060622 11.582129763 11.388392479 Calling exit ...