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.001482/0.001482, allocations: 119 kB / 19.69 MB, free: 2.199 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.001544/0.001544, allocations: 225.4 kB / 23.01 MB, free: 5.047 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.01/1.01, allocations: 150 MB / 463.2 MB, free: 10.5 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.002013/0.002013, allocations: 65.83 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1821, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002119/0.1842, allocations: 0.7269 MB / 0.7291 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1862, allocations: 1.291 MB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.1863, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.1863, allocations: 7.875 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.1864, allocations: 23.84 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.1872, allocations: 247.1 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.1875, allocations: 247.6 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.1876, allocations: 20.2 kB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1878, allocations: 95.81 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1879, allocations: 103.7 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.188, allocations: 23.94 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.382e-05/0.1881, allocations: 43.92 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1881, allocations: 31.92 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1882, allocations: 87.73 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1885, allocations: 227.6 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1885, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1885, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1886, allocations: 0 / 0.7314 GB, free: 14.07 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.0007679/0.1893, allocations: 433.3 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1894, allocations: 8.031 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.1894, allocations: 42.73 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.1895, allocations: 20.89 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.1901, allocations: 190.4 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.1901, allocations: 12.38 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1902, allocations: 20.36 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1904, allocations: 134.2 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1904, allocations: 4 kB / 0.7323 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1904, allocations: 7.984 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1905, allocations: 4 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1906, allocations: 59.89 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.1914, allocations: 495.7 kB / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1917, allocations: 141.2 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.1918, allocations: 49.7 kB / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1918, allocations: 4 kB / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.1922, allocations: 210.5 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1922, allocations: 0 / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.000587/0.1928, allocations: 309.5 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1929, allocations: 88.98 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.193, allocations: 136.5 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.193, allocations: 41.69 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.1931, allocations: 104.7 kB / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.1932, allocations: 47.64 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1933, allocations: 78.05 kB / 0.734 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1935, allocations: 322.8 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1936, allocations: 88.23 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.1939, allocations: 160.2 kB / 0.7345 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.1942, allocations: 243 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1942, allocations: 0 / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006047/0.1948, allocations: 366.7 kB / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.1949, allocations: 67.61 kB / 0.7352 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1949, allocations: 8 kB / 0.7352 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1949, allocations: 4 kB / 0.7352 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.195, allocations: 27.86 kB / 0.7352 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.195, allocations: 4 kB / 0.7352 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1954, allocations: 63.83 kB / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.1954, allocations: 19.98 kB / 0.7353 GB, free: 9.805 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.0001546/0.1956, allocations: 139.8 kB / 0.7354 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1956, allocations: 19.89 kB / 0.7354 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1957, allocations: 16.44 kB / 0.7354 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1957, allocations: 3.938 kB / 0.7355 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1957, allocations: 4 kB / 0.7355 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1957, allocations: 0 / 0.7355 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.1964, allocations: 0.5887 MB / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1964, allocations: 0 / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.1964, allocations: 8 kB / 0.736 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1964, allocations: 7.938 kB / 0.736 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1964, allocations: 4.078 kB / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1964, allocations: 11.88 kB / 0.7361 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1964, allocations: 0 / 0.7361 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.1969, allocations: 432.6 kB / 0.7365 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.1969, allocations: 7.953 kB / 0.7365 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.197, allocations: 15.92 kB / 0.7365 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1971, allocations: 11.98 kB / 0.7365 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.1972, allocations: 23.95 kB / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1972, allocations: 15.98 kB / 0.7365 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.1973, allocations: 91.27 kB / 0.7366 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 0.7366 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003678/0.1977, allocations: 56 kB / 0.7367 GB, free: 8.293 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.0008608/0.1985, allocations: 0.9706 MB / 0.7376 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.199, allocations: 318.8 kB / 0.7379 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.199, allocations: 4.125 kB / 0.7379 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1992, allocations: 79.89 kB / 0.738 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1996, allocations: 30.92 kB / 0.738 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.2026, allocations: 2.29 MB / 0.7403 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.203, allocations: 0.7086 MB / 0.741 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.246e-05/0.203, allocations: 21.47 kB / 0.741 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2031, allocations: 39.42 kB / 0.741 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2031, allocations: 0 / 0.741 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.2351, allocations: 4.316 MB / 0.7452 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.43, allocations: 0.9375 kB / 0.7452 GB, free: 15.46 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.290705112973228] Failed to read output from testmodel.py, exit status != 0: 11.546164851170033 11.57737988 11.38325435 Calling exit ...