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.001816/0.001816, allocations: 114 kB / 17.12 MB, free: 6.008 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.002042/0.002042, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.047/1.047, allocations: 150 MB / 459.5 MB, free: 5.316 MB / 350.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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [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.002023/0.002023, allocations: 66.73 kB / 0.6366 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2041, allocations: 89.14 MB / 0.7236 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002377/0.2065, allocations: 0.7198 MB / 0.7243 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2088, allocations: 1.297 MB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.2088, allocations: 4 kB / 0.7256 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.2089, allocations: 7.875 kB / 0.7256 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.209, allocations: 15.84 kB / 0.7256 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.2097, allocations: 256.5 kB / 0.7259 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.2101, allocations: 251.5 kB / 0.7261 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2102, allocations: 16.2 kB / 0.7261 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2103, allocations: 99.86 kB / 0.7262 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2105, allocations: 95.73 kB / 0.7263 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.2106, allocations: 24 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.2106, allocations: 43.92 kB / 0.7264 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.2107, allocations: 31.91 kB / 0.7264 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.2108, allocations: 91.73 kB / 0.7265 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2112, allocations: 223.3 kB / 0.7267 GB, free: 388 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2112, allocations: 4 kB / 0.7267 GB, free: 384 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2112, allocations: 0 / 0.7267 GB, free: 384 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.2112, allocations: 0 / 0.7267 GB, free: 384 kB / 0.5294 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.001028/0.2122, allocations: 0.4906 MB / 0.7272 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2122, allocations: 8.031 kB / 0.7272 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.2123, allocations: 20.89 kB / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.213, allocations: 248.3 kB / 0.7275 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.213, allocations: 16.36 kB / 0.7275 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2132, allocations: 20.36 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2134, allocations: 134.2 kB / 0.7276 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2134, allocations: 3.938 kB / 0.7276 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2135, allocations: 7.984 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2135, allocations: 3.984 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2136, allocations: 63.89 kB / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.2145, allocations: 0.5124 MB / 0.7282 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.2148, allocations: 137.2 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.2149, allocations: 57.69 kB / 0.7284 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.2149, allocations: 0 / 0.7284 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.2153, allocations: 204.8 kB / 0.7286 GB, free: 14.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.2153, allocations: 0 / 0.7286 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006164/0.2159, allocations: 309.7 kB / 0.7289 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.216, allocations: 97.06 kB / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.2161, allocations: 140.3 kB / 0.7291 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.2162, allocations: 37.7 kB / 0.7291 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.2163, allocations: 100.7 kB / 0.7292 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.2163, allocations: 51.78 kB / 0.7293 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.2165, allocations: 73.67 kB / 0.7294 GB, free: 13.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2166, allocations: 322.8 kB / 0.7297 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2168, allocations: 84.23 kB / 0.7297 GB, free: 13.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.2171, allocations: 156.2 kB / 0.7299 GB, free: 12.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.2175, allocations: 247 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2175, allocations: 0 / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006736/0.2182, allocations: 368.6 kB / 0.7305 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.2183, allocations: 67.61 kB / 0.7305 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2183, allocations: 4 kB / 0.7305 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2183, allocations: 0 / 0.7305 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2184, allocations: 23.92 kB / 0.7306 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2184, allocations: 7.938 kB / 0.7306 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.2188, allocations: 63.83 kB / 0.7306 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.2188, allocations: 19.98 kB / 0.7307 GB, free: 11.97 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.0001406/0.219, allocations: 144 kB / 0.7308 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.219, allocations: 19.91 kB / 0.7308 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.219, allocations: 12.5 kB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.219, allocations: 4 kB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2191, allocations: 3.938 kB / 0.7308 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2191, allocations: 3.984 kB / 0.7308 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.2199, allocations: 0.6172 MB / 0.7314 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2199, allocations: 3.938 kB / 0.7314 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.2199, allocations: 8 kB / 0.7315 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.2199, allocations: 7.922 kB / 0.7315 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.22, allocations: 8 kB / 0.7315 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.22, allocations: 0 / 0.7315 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.22, allocations: 0 / 0.7315 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.2204, allocations: 430.5 kB / 0.7319 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.2205, allocations: 85.06 kB / 0.732 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2205, allocations: 11.92 kB / 0.732 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2207, allocations: 15.98 kB / 0.732 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.2207, allocations: 19.97 kB / 0.732 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2208, allocations: 19.98 kB / 0.732 GB, free: 10.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.2208, allocations: 91.27 kB / 0.7321 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2208, allocations: 0 / 0.7321 GB, free: 10.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003677/0.2212, allocations: 63.92 kB / 0.7322 GB, free: 10.32 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.0002004/0.2214, allocations: 122.9 kB / 0.7323 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.2219, allocations: 313.6 kB / 0.7326 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2219, allocations: 0 / 0.7326 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2221, allocations: 90.5 kB / 0.7327 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2225, allocations: 32.34 kB / 0.7327 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.223, allocations: 276.1 kB / 0.733 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.2234, allocations: 0.7047 MB / 0.7337 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.33e-05/0.2235, allocations: 17.83 kB / 0.7337 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.2236, allocations: 27.42 kB / 0.7337 GB, free: 8.668 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2236, allocations: 0 / 0.7337 GB, free: 8.668 MB / 0.545 GB Notification: Performance of Templates: time 0.006639/0.2302, allocations: 2.712 MB / 0.7363 GB, free: 5.977 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3587275869213045] Failed to read output from testmodel.py, exit status != 0: 0.23740279395133257 0.252354287 0.038229355 Calling exit ...