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.223/0.225, allocations: 80.83 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005197/0.2302, allocations: 3.15 MB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2326, allocations: 1.034 MB / 0.6747 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.2331, allocations: 15.94 kB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.2335, allocations: 71.19 kB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.2339, allocations: 95.12 kB / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.2348, allocations: 255.1 kB / 0.6751 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.2355, allocations: 0.5582 MB / 0.6756 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.2361, allocations: 263.4 kB / 0.6759 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.2365, allocations: 207.1 kB / 0.6761 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.2368, allocations: 218.8 kB / 0.6763 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.2368, allocations: 56 kB / 0.6763 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.2369, allocations: 56 kB / 0.6764 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.237, allocations: 119.5 kB / 0.6765 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.2373, allocations: 250.7 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.2379, allocations: 0.5955 MB / 0.6773 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2379, allocations: 8 kB / 0.6773 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.238, allocations: 0 / 0.6773 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.238, allocations: 0 / 0.6773 GB, free: 11.02 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.001484/0.2395, allocations: 0.7777 MB / 0.6781 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.2395, allocations: 8.031 kB / 0.6781 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2397, allocations: 68.17 kB / 0.6782 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.2404, allocations: 415 kB / 0.6786 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.2405, allocations: 29.38 kB / 0.6786 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/0.2406, allocations: 40.38 kB / 0.6786 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.2416, allocations: 421.1 kB / 0.679 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.2416, allocations: 3.938 kB / 0.679 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2417, allocations: 20 kB / 0.6791 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2417, allocations: 12 kB / 0.6791 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.2424, allocations: 295.8 kB / 0.6794 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.2444, allocations: 1.312 MB / 0.6806 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.2451, allocations: 350 kB / 0.681 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.2454, allocations: 136.8 kB / 0.6811 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.2455, allocations: 4 kB / 0.6811 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.2459, allocations: 189.5 kB / 0.6813 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.2459, allocations: 0 / 0.6813 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0009569/0.2468, allocations: 418.8 kB / 0.6817 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.247, allocations: 110.8 kB / 0.6818 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.2474, allocations: 373.6 kB / 0.6821 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.2474, allocations: 37.7 kB / 0.6822 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2476, allocations: 240.4 kB / 0.6824 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.2478, allocations: 102.5 kB / 0.6825 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2479, allocations: 69.69 kB / 0.6826 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2481, allocations: 358.7 kB / 0.6829 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.2483, allocations: 120.8 kB / 0.683 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.2487, allocations: 170.2 kB / 0.6832 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.2492, allocations: 274 kB / 0.6835 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2492, allocations: 0 / 0.6835 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006997/0.2499, allocations: 361.5 kB / 0.6838 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.2499, allocations: 8 kB / 0.6838 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2499, allocations: 0 / 0.6838 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.25, allocations: 4 kB / 0.6838 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.2503, allocations: 71.83 kB / 0.6839 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2503, allocations: 0 / 0.6839 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2505, allocations: 39.67 kB / 0.6839 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.2505, allocations: 20.11 kB / 0.6839 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003649/0.2509, allocations: 228.8 kB / 0.6842 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002725/0.2512, allocations: 162.6 kB / 0.6843 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004476/0.2517, allocations: 244.5 kB / 0.6845 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.2517, allocations: 0 / 0.6845 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0005835/0.2523, allocations: 344.8 kB / 0.6849 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2523, allocations: 8 kB / 0.6849 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2523, allocations: 0 / 0.6849 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.2523, allocations: 4.125 kB / 0.6849 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2525, allocations: 63.84 kB / 0.6849 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2526, allocations: 4 kB / 0.685 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2528, allocations: 31.83 kB / 0.685 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2528, allocations: 8 kB / 0.685 GB, free: 2.84 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.0002065/0.253, allocations: 220 kB / 0.6852 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2531, allocations: 39.44 kB / 0.6852 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.2532, allocations: 48.3 kB / 0.6853 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2532, allocations: 11.94 kB / 0.6853 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2532, allocations: 0 / 0.6853 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2532, allocations: 3.984 kB / 0.6853 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2548, allocations: 0.8658 MB / 0.6861 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2548, allocations: 0 / 0.6861 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.2551, allocations: 51.91 kB / 0.6862 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2551, allocations: 4 kB / 0.6862 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2551, allocations: 11.98 kB / 0.6862 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2552, allocations: 4 kB / 0.6862 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2552, allocations: 3.938 kB / 0.6862 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2562, allocations: 0.5506 MB / 0.6868 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.2564, allocations: 140.6 kB / 0.6869 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.2564, allocations: 12.06 kB / 0.6869 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2566, allocations: 23.97 kB / 0.6869 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2568, allocations: 27.91 kB / 0.6869 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2568, allocations: 4 kB / 0.687 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003098/0.2571, allocations: 263.2 kB / 0.6872 GB, free: 484 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2571, allocations: 0 / 0.6872 GB, free: 484 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000502/0.2576, allocations: 155.4 kB / 0.6874 GB, free: 328 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.0001532/0.2578, allocations: 125.9 kB / 0.6875 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008617/0.2587, allocations: 432.2 kB / 0.6879 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2587, allocations: 0 / 0.6879 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.2589, allocations: 156.2 kB / 0.688 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.2595, allocations: 73.52 kB / 0.6881 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2611, allocations: 0.8246 MB / 0.6889 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2615, allocations: 0.8198 MB / 0.6897 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.2617, allocations: 43.27 kB / 0.6898 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.2618, allocations: 35.42 kB / 0.6898 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of SimCode: time 2.134e-06/0.2618, allocations: 0 / 0.6898 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.009322/0.2711, allocations: 4.229 MB / 0.6939 GB, free: 9.559 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)