Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2048/0.2068, allocations: 80.83 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004568/0.2114, allocations: 3.139 MB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.2132, allocations: 1.037 MB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.2136, allocations: 11.94 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.2138, allocations: 71.2 kB / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.214, allocations: 99.09 kB / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2146, allocations: 246.5 kB / 0.6751 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.2152, allocations: 0.5544 MB / 0.6756 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.2156, allocations: 263.3 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.2159, allocations: 211.1 kB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2161, allocations: 218.8 kB / 0.6763 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.2162, allocations: 56 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.2163, allocations: 56 kB / 0.6764 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2164, allocations: 119.6 kB / 0.6765 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.2166, allocations: 242.6 kB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.2173, allocations: 0.603 MB / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2173, allocations: 0 / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2173, allocations: 0 / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2173, allocations: 0 / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001238/0.2185, allocations: 0.8084 MB / 0.6781 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2186, allocations: 8.031 kB / 0.6781 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2187, allocations: 60.56 kB / 0.6782 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.2193, allocations: 423.3 kB / 0.6786 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.2194, allocations: 33.38 kB / 0.6786 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.2194, allocations: 36.38 kB / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.2201, allocations: 425 kB / 0.6791 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2202, allocations: 3.984 kB / 0.6791 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.2202, allocations: 16 kB / 0.6791 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2202, allocations: 8 kB / 0.6791 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.2208, allocations: 291.8 kB / 0.6794 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2226, allocations: 1.316 MB / 0.6807 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.2233, allocations: 347.9 kB / 0.681 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.2236, allocations: 140.8 kB / 0.6811 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2236, allocations: 11.97 kB / 0.6811 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.224, allocations: 181.5 kB / 0.6813 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.993e-06/0.224, allocations: 0 / 0.6813 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008498/0.2248, allocations: 422.8 kB / 0.6817 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.2249, allocations: 114.7 kB / 0.6818 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.2253, allocations: 365.7 kB / 0.6822 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2253, allocations: 33.7 kB / 0.6822 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2255, allocations: 256.7 kB / 0.6824 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.2256, allocations: 99.12 kB / 0.6825 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2257, allocations: 77.69 kB / 0.6826 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2259, allocations: 354.7 kB / 0.683 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.2261, allocations: 112.8 kB / 0.6831 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.2264, allocations: 182.2 kB / 0.6832 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.2269, allocations: 262.1 kB / 0.6835 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2269, allocations: 0 / 0.6835 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005953/0.2275, allocations: 369.8 kB / 0.6838 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2275, allocations: 7.984 kB / 0.6838 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2275, allocations: 4 kB / 0.6838 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2276, allocations: 0 / 0.6838 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.2278, allocations: 59.91 kB / 0.6839 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2279, allocations: 4 kB / 0.6839 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2281, allocations: 51.84 kB / 0.684 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2281, allocations: 12 kB / 0.684 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002997/0.2284, allocations: 224.8 kB / 0.6842 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002544/0.2287, allocations: 174.5 kB / 0.6843 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003677/0.229, allocations: 244.4 kB / 0.6846 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.229, allocations: 0 / 0.6846 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0005254/0.2296, allocations: 341.1 kB / 0.6849 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2296, allocations: 10.19 kB / 0.6849 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.2296, allocations: 8.109 kB / 0.6849 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.2296, allocations: 4 kB / 0.6849 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2299, allocations: 63.86 kB / 0.685 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2299, allocations: 7.938 kB / 0.685 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.2301, allocations: 31.86 kB / 0.685 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2301, allocations: 12 kB / 0.685 GB, free: 2.863 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001588/0.2303, allocations: 208.1 kB / 0.6852 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.2303, allocations: 47.72 kB / 0.6853 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.2304, allocations: 44.3 kB / 0.6853 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2304, allocations: 0 / 0.6853 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2304, allocations: 4 kB / 0.6853 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.2304, allocations: 3.984 kB / 0.6853 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2316, allocations: 0.8696 MB / 0.6862 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2316, allocations: 4 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.2319, allocations: 55.91 kB / 0.6862 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2319, allocations: 3.984 kB / 0.6862 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2319, allocations: 8 kB / 0.6863 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2319, allocations: 3.938 kB / 0.6863 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-05/0.232, allocations: 3.938 kB / 0.6863 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.2329, allocations: 0.551 MB / 0.6868 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.2331, allocations: 148.7 kB / 0.6869 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.2331, allocations: 8 kB / 0.6869 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2333, allocations: 19.98 kB / 0.687 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.2334, allocations: 23.91 kB / 0.687 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2334, allocations: 15.98 kB / 0.687 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002687/0.2337, allocations: 259.1 kB / 0.6872 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2337, allocations: 0 / 0.6872 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000479/0.2342, allocations: 159.6 kB / 0.6874 GB, free: 352 kB / 0.5137 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.0001195/0.2343, allocations: 111.2 kB / 0.6875 GB, free: 232 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.2351, allocations: 440.1 kB / 0.6879 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2352, allocations: 4.5 kB / 0.6879 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.2354, allocations: 147.8 kB / 0.6881 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.236, allocations: 90 kB / 0.6882 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2374, allocations: 0.8229 MB / 0.689 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.2378, allocations: 0.8198 MB / 0.6898 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.238, allocations: 55.23 kB / 0.6898 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.2381, allocations: 27.44 kB / 0.6898 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.2381, allocations: 0 / 0.6898 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.008626/0.2468, allocations: 4.226 MB / 0.694 GB, free: 9.578 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)