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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.1 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8141/0.8141, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.66 kB / 0.5576 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1891, allocations: 76.18 MB / 0.632 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004546/0.1937, allocations: 3.121 MB / 0.6351 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1956, allocations: 0.9584 MB / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.1959, allocations: 15.94 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1962, allocations: 71.2 kB / 0.6361 GB, free: 220 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1964, allocations: 103 kB / 0.6362 GB, free: 116 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.197, allocations: 248.7 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.1975, allocations: 0.5544 MB / 0.637 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.1979, allocations: 251.5 kB / 0.6372 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.1982, allocations: 207.1 kB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1984, allocations: 210.9 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.1985, allocations: 55.94 kB / 0.6377 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.1986, allocations: 52 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1987, allocations: 111.6 kB / 0.6378 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.1989, allocations: 238.7 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.1996, allocations: 0.5916 MB / 0.6386 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1996, allocations: 0 / 0.6386 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1996, allocations: 0 / 0.6386 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1996, allocations: 0 / 0.6386 GB, free: 13.61 MB / 494.1 MB 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.001281/0.2009, allocations: 0.766 MB / 0.6394 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.201, allocations: 8.031 kB / 0.6394 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2011, allocations: 56.28 kB / 0.6395 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.2017, allocations: 420.7 kB / 0.6399 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2018, allocations: 29.38 kB / 0.6399 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.2018, allocations: 40.28 kB / 0.6399 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.2025, allocations: 401.9 kB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2026, allocations: 0 / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.2026, allocations: 20 kB / 0.6403 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2026, allocations: 8 kB / 0.6403 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.2032, allocations: 263.8 kB / 0.6406 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2049, allocations: 1.301 MB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.2056, allocations: 320.5 kB / 0.6422 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2059, allocations: 142.3 kB / 0.6423 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.2059, allocations: 11.94 kB / 0.6423 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.2063, allocations: 173.5 kB / 0.6425 GB, free: 9.477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.2063, allocations: 3.938 kB / 0.6425 GB, free: 9.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008091/0.2071, allocations: 374.7 kB / 0.6428 GB, free: 9.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2072, allocations: 85.11 kB / 0.6429 GB, free: 9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.2075, allocations: 353.6 kB / 0.6432 GB, free: 8.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2076, allocations: 33.7 kB / 0.6433 GB, free: 8.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.2077, allocations: 236.8 kB / 0.6435 GB, free: 8.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.2078, allocations: 106.5 kB / 0.6436 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2079, allocations: 74.06 kB / 0.6437 GB, free: 8.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2081, allocations: 346.8 kB / 0.644 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.2083, allocations: 100.7 kB / 0.6441 GB, free: 7.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.2086, allocations: 172.4 kB / 0.6443 GB, free: 7.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.2091, allocations: 255.8 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2091, allocations: 0 / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006207/0.2097, allocations: 358.4 kB / 0.6449 GB, free: 6.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2097, allocations: 4 kB / 0.6449 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2097, allocations: 4 kB / 0.6449 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2098, allocations: 0 / 0.6449 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.21, allocations: 67.91 kB / 0.6449 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2101, allocations: 11.94 kB / 0.6449 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2102, allocations: 35.67 kB / 0.645 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.2103, allocations: 15.98 kB / 0.645 GB, free: 6.789 MB / 494.1 MB 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.0001915/0.2105, allocations: 182.4 kB / 0.6452 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.2105, allocations: 39.53 kB / 0.6452 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.2106, allocations: 40.25 kB / 0.6452 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2106, allocations: 4 kB / 0.6452 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2107, allocations: 0 / 0.6452 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2107, allocations: 3.984 kB / 0.6452 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2117, allocations: 0.8119 MB / 0.646 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2117, allocations: 0 / 0.646 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.212, allocations: 51.97 kB / 0.6461 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.212, allocations: 0 / 0.6461 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.212, allocations: 4 kB / 0.6461 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.212, allocations: 7.984 kB / 0.6461 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.212, allocations: 0 / 0.6461 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.2129, allocations: 0.516 MB / 0.6466 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.213, allocations: 136.6 kB / 0.6467 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.213, allocations: 11.94 kB / 0.6467 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2132, allocations: 15.98 kB / 0.6468 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.2133, allocations: 23.97 kB / 0.6468 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.2134, allocations: 11.98 kB / 0.6468 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.2136, allocations: 239.2 kB / 0.647 GB, free: 4.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2136, allocations: 4.062 kB / 0.647 GB, free: 4.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.214, allocations: 95.61 kB / 0.6471 GB, free: 4.504 MB / 494.1 MB 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.0001321/0.2141, allocations: 113.2 kB / 0.6472 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.2147, allocations: 260 kB / 0.6475 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2147, allocations: 384 / 0.6475 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.215, allocations: 144.4 kB / 0.6476 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.2155, allocations: 85.48 kB / 0.6477 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2169, allocations: 0.7945 MB / 0.6485 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2173, allocations: 0.8191 MB / 0.6493 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.2175, allocations: 43.27 kB / 0.6493 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2176, allocations: 27.44 kB / 0.6493 GB, free: 2.172 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2176, allocations: 0 / 0.6493 GB, free: 2.172 MB / 494.1 MB Notification: Performance of Templates: time 0.007744/0.2253, allocations: 3.709 MB / 0.653 GB, free: 14.49 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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 & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)