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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 191.5 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.006/1.006, allocations: 149.5 MB / 456.3 MB, free: 1.266 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.12 kB / 0.6319 GB, free: 9.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1978, allocations: 87.87 MB / 0.7177 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00211/0.1999, allocations: 0.7375 MB / 0.7185 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.202, allocations: 1.275 MB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.2021, allocations: 0 / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.2022, allocations: 7.875 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2023, allocations: 19.8 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.2032, allocations: 245.6 kB / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.2036, allocations: 255.5 kB / 0.7202 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2037, allocations: 16.23 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.2039, allocations: 99.8 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2041, allocations: 91.75 kB / 0.7204 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.2041, allocations: 27.94 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2042, allocations: 39.98 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.2043, allocations: 27.95 kB / 0.7205 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2044, allocations: 95.75 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.2048, allocations: 223.3 kB / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2048, allocations: 0 / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2048, allocations: 0 / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2048, allocations: 0 / 0.7208 GB, free: 14.52 MB / 0.545 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.0008777/0.2057, allocations: 425.2 kB / 0.7212 GB, free: 14.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2057, allocations: 12.62 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.2058, allocations: 46.67 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.2058, allocations: 16.89 kB / 0.7213 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.2064, allocations: 190.5 kB / 0.7215 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.2065, allocations: 8.375 kB / 0.7215 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.2065, allocations: 24.36 kB / 0.7215 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.2068, allocations: 134.7 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2068, allocations: 4 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2068, allocations: 7.984 kB / 0.7216 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2068, allocations: 3.938 kB / 0.7216 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2069, allocations: 59.95 kB / 0.7217 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008927/0.2078, allocations: 499.7 kB / 0.7222 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.2081, allocations: 137.2 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2082, allocations: 53.72 kB / 0.7224 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.2082, allocations: 3.938 kB / 0.7224 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.2086, allocations: 210.4 kB / 0.7226 GB, free: 12.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2086, allocations: 0 / 0.7226 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006378/0.2092, allocations: 313.4 kB / 0.7229 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.2093, allocations: 93.03 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2094, allocations: 138 kB / 0.7231 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.2095, allocations: 37.7 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.2096, allocations: 92.64 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.2097, allocations: 55.58 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2098, allocations: 73.67 kB / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.21, allocations: 322.8 kB / 0.7236 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2101, allocations: 88.23 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.2104, allocations: 156.2 kB / 0.7239 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.2107, allocations: 246.1 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2107, allocations: 4 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000623/0.2113, allocations: 357.1 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.2114, allocations: 63.39 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2114, allocations: 4.219 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2114, allocations: 8 kB / 0.7245 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2115, allocations: 27.86 kB / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2116, allocations: 4 kB / 0.7245 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.2119, allocations: 67.84 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.2119, allocations: 19.98 kB / 0.7246 GB, free: 10.27 MB / 0.545 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.0001551/0.2121, allocations: 147.7 kB / 0.7248 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.2121, allocations: 11.95 kB / 0.7248 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.2122, allocations: 16.42 kB / 0.7248 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2122, allocations: 7.938 kB / 0.7248 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2122, allocations: 3.938 kB / 0.7248 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2122, allocations: 3.984 kB / 0.7248 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.2129, allocations: 0.5943 MB / 0.7254 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2129, allocations: 4 kB / 0.7254 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.2129, allocations: 11.98 kB / 0.7254 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.2129, allocations: 3.938 kB / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.213, allocations: 11.94 kB / 0.7254 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.213, allocations: 0 / 0.7254 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.213, allocations: 0 / 0.7254 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.2135, allocations: 423.6 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.2135, allocations: 19.84 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.2135, allocations: 15.92 kB / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2137, allocations: 15.98 kB / 0.7259 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2137, allocations: 23.95 kB / 0.7259 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2138, allocations: 11.98 kB / 0.7259 GB, free: 8.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.2138, allocations: 102.3 kB / 0.726 GB, free: 8.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2138, allocations: 3.938 kB / 0.726 GB, free: 8.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003649/0.2142, allocations: 52 kB / 0.7261 GB, free: 8.727 MB / 0.545 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.000924/0.2151, allocations: 0.9663 MB / 0.727 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.2157, allocations: 323.8 kB / 0.7273 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2157, allocations: 448 / 0.7273 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.2158, allocations: 87.89 kB / 0.7274 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2162, allocations: 19.98 kB / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.2192, allocations: 2.301 MB / 0.7297 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.2196, allocations: 0.7086 MB / 0.7304 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.244e-05/0.2197, allocations: 17.48 kB / 0.7304 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.2197, allocations: 39.42 kB / 0.7304 GB, free: 4.047 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.2197, allocations: 0 / 0.7304 GB, free: 4.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.251, allocations: 4.246 MB / 0.7346 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.316, allocations: 0 / 0.7346 GB, free: 15.91 MB / 0.5606 GB " [Timeout remaining time 652] (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: 12.256349078001222] Failed to read output from testmodel.py, exit status != 0: 8.38916299599805 8.417589002 8.207757538 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2cc956d7b0>