Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001748/0.001748, allocations: 118.8 kB / 17.84 MB, free: 5.254 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.002407/0.002407, allocations: 201.6 kB / 20.79 MB, free: 2.316 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.549/1.549, allocations: 230.6 MB / 254.2 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.013/1.013, allocations: 150 MB / 460.2 MB, free: 5.691 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: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="cs",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.002008/0.002008, allocations: 68.84 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1753, allocations: 89.14 MB / 0.7238 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004875/0.1801, allocations: 3.149 MB / 0.7269 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1824, allocations: 1.029 MB / 0.7279 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.1828, allocations: 19.88 kB / 0.7279 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1831, allocations: 79.19 kB / 0.728 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1834, allocations: 95.11 kB / 0.7281 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.1841, allocations: 249.6 kB / 0.7283 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007001/0.1848, allocations: 0.5503 MB / 0.7289 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.1853, allocations: 183.7 kB / 0.729 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.1857, allocations: 227 kB / 0.7293 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.186, allocations: 210.9 kB / 0.7295 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.1861, allocations: 55.94 kB / 0.7295 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1862, allocations: 56 kB / 0.7296 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1863, allocations: 99.69 kB / 0.7297 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1866, allocations: 242.6 kB / 0.7299 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.1875, allocations: 0.5874 MB / 0.7305 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1875, allocations: 3.984 kB / 0.7305 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.1875, allocations: 4 kB / 0.7305 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.1875, allocations: 7.938 kB / 0.7305 GB, free: 13.26 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001544/0.1891, allocations: 0.7811 MB / 0.7312 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.1891, allocations: 16.03 kB / 0.7313 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.744e-05/0.1892, allocations: 9.188 kB / 0.7313 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.945e-05/0.1893, allocations: 74.72 kB / 0.7313 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.1895, allocations: 68.55 kB / 0.7314 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.1903, allocations: 420.9 kB / 0.7318 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.1904, allocations: 33.38 kB / 0.7318 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.1905, allocations: 36.38 kB / 0.7319 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.1912, allocations: 401.5 kB / 0.7323 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1912, allocations: 0 / 0.7323 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.1913, allocations: 20 kB / 0.7323 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1913, allocations: 8 kB / 0.7323 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.1919, allocations: 259.8 kB / 0.7325 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.194, allocations: 1.309 MB / 0.7338 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.1948, allocations: 310 kB / 0.7341 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.1951, allocations: 132.8 kB / 0.7342 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.1952, allocations: 8 kB / 0.7342 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.1956, allocations: 166.1 kB / 0.7344 GB, free: 9.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.1956, allocations: 0 / 0.7344 GB, free: 9.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009616/0.1965, allocations: 382.8 kB / 0.7348 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1966, allocations: 89.03 kB / 0.7348 GB, free: 8.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.1971, allocations: 357.6 kB / 0.7352 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.1971, allocations: 37.7 kB / 0.7352 GB, free: 8.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1974, allocations: 240.7 kB / 0.7354 GB, free: 7.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1975, allocations: 107.1 kB / 0.7356 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1976, allocations: 74.06 kB / 0.7356 GB, free: 7.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1978, allocations: 346.8 kB / 0.736 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.198, allocations: 100.7 kB / 0.736 GB, free: 7.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.1983, allocations: 168.4 kB / 0.7362 GB, free: 7.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.1989, allocations: 267.7 kB / 0.7365 GB, free: 6.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1989, allocations: 0 / 0.7365 GB, free: 6.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006734/0.1995, allocations: 350.8 kB / 0.7368 GB, free: 6.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1996, allocations: 8 kB / 0.7368 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1996, allocations: 0 / 0.7368 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1996, allocations: 4 kB / 0.7368 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1999, allocations: 67.89 kB / 0.7369 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1999, allocations: 4 kB / 0.7369 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2001, allocations: 39.7 kB / 0.7369 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.2001, allocations: 19.94 kB / 0.7369 GB, free: 6.316 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002088/0.2003, allocations: 175.4 kB / 0.7371 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.2004, allocations: 43.72 kB / 0.7371 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.2005, allocations: 48.19 kB / 0.7372 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2005, allocations: 4 kB / 0.7372 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2005, allocations: 0 / 0.7372 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.2005, allocations: 3.984 kB / 0.7372 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2018, allocations: 0.8071 MB / 0.738 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2018, allocations: 0 / 0.738 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.2021, allocations: 47.98 kB / 0.738 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2021, allocations: 4 kB / 0.738 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2021, allocations: 11.92 kB / 0.738 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2021, allocations: 4 kB / 0.7381 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2021, allocations: 0 / 0.7381 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.203, allocations: 0.5208 MB / 0.7386 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.2032, allocations: 136.8 kB / 0.7387 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.2032, allocations: 8 kB / 0.7387 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2034, allocations: 15.98 kB / 0.7387 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.2035, allocations: 27.95 kB / 0.7387 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2035, allocations: 7.938 kB / 0.7387 GB, free: 4.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002729/0.2038, allocations: 247.2 kB / 0.739 GB, free: 4.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2038, allocations: 4.062 kB / 0.739 GB, free: 4.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003837/0.2042, allocations: 91.73 kB / 0.7391 GB, free: 4.023 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001276/0.2054, allocations: 1.072 MB / 0.7401 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.206, allocations: 243.8 kB / 0.7404 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.206, allocations: 0 / 0.7404 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.2063, allocations: 123.8 kB / 0.7405 GB, free: 2.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.2069, allocations: 89.89 kB / 0.7406 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.2119, allocations: 3.48 MB / 0.744 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.2124, allocations: 0.8074 MB / 0.7447 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.2126, allocations: 43.27 kB / 0.7448 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.2128, allocations: 143.4 kB / 0.7449 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.2128, allocations: 4 kB / 0.7449 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.2405, allocations: 7.523 MB / 0.7523 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.823/9.064, allocations: 10.62 kB / 0.7523 GB, free: 6.527 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.187818212958518] Failed to read output from testmodel.py, exit status != 0: 9.193452496023383 9.210057781 9.019298481 Calling exit ...