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.001463/0.001463, 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.001586/0.001586, allocations: 216.5 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.008/1.008, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.002087/0.002087, allocations: 76.09 kB / 0.6411 GB, free: 10.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 89.17 MB / 0.7282 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002036/0.1916, allocations: 0.6965 MB / 0.7288 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1933, allocations: 1.272 MB / 0.7301 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.1934, allocations: 3.938 kB / 0.7301 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.1934, allocations: 11.86 kB / 0.7301 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1935, allocations: 19.86 kB / 0.7301 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1943, allocations: 242.4 kB / 0.7304 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.1947, allocations: 255.6 kB / 0.7306 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1948, allocations: 20.2 kB / 0.7306 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1949, allocations: 103.7 kB / 0.7307 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1951, allocations: 79.75 kB / 0.7308 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.1952, allocations: 24 kB / 0.7308 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1953, allocations: 39.98 kB / 0.7309 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1953, allocations: 23.92 kB / 0.7309 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1954, allocations: 83.8 kB / 0.731 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1957, allocations: 227.6 kB / 0.7312 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1957, allocations: 0 / 0.7312 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1957, allocations: 0 / 0.7312 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1957, allocations: 4 kB / 0.7312 GB, free: 14.06 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.0007273/0.1965, allocations: 433.3 kB / 0.7316 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1965, allocations: 8.031 kB / 0.7316 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.1966, allocations: 42.73 kB / 0.7316 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.1966, allocations: 16.89 kB / 0.7317 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1973, allocations: 190.4 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1973, allocations: 16.38 kB / 0.7319 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.1974, allocations: 20.36 kB / 0.7319 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1976, allocations: 131.6 kB / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1976, allocations: 0 / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.1976, allocations: 11.92 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1976, allocations: 4 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1978, allocations: 51.95 kB / 0.7321 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.1986, allocations: 467.9 kB / 0.7325 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.1989, allocations: 129.2 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.199, allocations: 57.69 kB / 0.7327 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.199, allocations: 15.81 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.1995, allocations: 202 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.1995, allocations: 8 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006568/0.2001, allocations: 313.4 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.2002, allocations: 89.05 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2003, allocations: 132.8 kB / 0.7334 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.2004, allocations: 41.7 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.2005, allocations: 96.73 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.2006, allocations: 51.62 kB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2007, allocations: 69.69 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.2009, allocations: 330.8 kB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.2012, allocations: 147.6 kB / 0.7341 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.2014, allocations: 215.6 kB / 0.7343 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2018, allocations: 246.9 kB / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2018, allocations: 0 / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006787/0.2025, allocations: 428.8 kB / 0.735 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/0.2026, allocations: 69.42 kB / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2026, allocations: 464 / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2026, allocations: 4 kB / 0.735 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2027, allocations: 27.86 kB / 0.7351 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.2027, allocations: 7.984 kB / 0.7351 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2031, allocations: 71.89 kB / 0.7351 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2032, allocations: 19.98 kB / 0.7352 GB, free: 9.609 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.0001667/0.2033, allocations: 139.8 kB / 0.7353 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2034, allocations: 15.91 kB / 0.7353 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.2034, allocations: 16.44 kB / 0.7353 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2034, allocations: 3.938 kB / 0.7353 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2034, allocations: 7.938 kB / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2034, allocations: 3.984 kB / 0.7353 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.2042, allocations: 0.5738 MB / 0.7359 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2042, allocations: 0 / 0.7359 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.2042, allocations: 11.98 kB / 0.7359 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2042, allocations: 3.938 kB / 0.7359 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2042, allocations: 11.98 kB / 0.7359 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2043, allocations: 4 kB / 0.7359 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2043, allocations: 3.938 kB / 0.7359 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.2047, allocations: 432.1 kB / 0.7363 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.2047, allocations: 7.953 kB / 0.7364 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2048, allocations: 11.94 kB / 0.7364 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.205, allocations: 11.98 kB / 0.7364 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.205, allocations: 27.95 kB / 0.7364 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2051, allocations: 19.98 kB / 0.7364 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.2051, allocations: 91.27 kB / 0.7365 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 0 / 0.7365 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003801/0.2055, allocations: 55.98 kB / 0.7366 GB, free: 8.102 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.0009042/0.2064, allocations: 0.979 MB / 0.7375 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000615/0.207, allocations: 378.3 kB / 0.7379 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.207, allocations: 4.062 kB / 0.7379 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2072, allocations: 83.92 kB / 0.738 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.2076, allocations: 35.25 kB / 0.738 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.211, allocations: 2.533 MB / 0.7405 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2111, allocations: 96.75 kB / 0.7406 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.757e-05/0.2111, allocations: 21.47 kB / 0.7406 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.2112, allocations: 39.36 kB / 0.7406 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.2112, allocations: 4 kB / 0.7406 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.2441, allocations: 4.909 MB / 0.7454 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 9.453 kB / 0.7454 GB, free: 14.95 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.399694270920008] Failed to read output from testmodel.py, exit status != 0: 11.554359921719879 11.57947801 11.378964239 Calling exit ...