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.1284/0.1303, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004097/0.1344, allocations: 3.146 MB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1359, allocations: 1.03 MB / 0.6747 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.1361, allocations: 11.94 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.1363, allocations: 75.19 kB / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1365, allocations: 91.11 kB / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1369, allocations: 254.6 kB / 0.6751 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.1374, allocations: 0.5505 MB / 0.6756 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.1378, allocations: 263.5 kB / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.138, allocations: 207.1 kB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1382, allocations: 214.8 kB / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.1383, allocations: 56 kB / 0.6763 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.1383, allocations: 56 kB / 0.6764 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.1384, allocations: 119.5 kB / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1386, allocations: 246.6 kB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1391, allocations: 0.6073 MB / 0.6773 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1391, allocations: 0 / 0.6773 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1391, allocations: 0 / 0.6773 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1392, allocations: 0 / 0.6773 GB, free: 11.11 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.001091/0.1403, allocations: 0.7855 MB / 0.6781 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1403, allocations: 8.031 kB / 0.6781 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.1404, allocations: 64.17 kB / 0.6782 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.1409, allocations: 407 kB / 0.6786 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.1409, allocations: 33.38 kB / 0.6786 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.141, allocations: 40.38 kB / 0.6786 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.1416, allocations: 421.1 kB / 0.679 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1416, allocations: 0 / 0.679 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.1417, allocations: 16 kB / 0.679 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1417, allocations: 11.94 kB / 0.6791 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.1422, allocations: 295.8 kB / 0.6793 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1439, allocations: 1.316 MB / 0.6806 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.1445, allocations: 347 kB / 0.681 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.1448, allocations: 140.8 kB / 0.6811 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1448, allocations: 4 kB / 0.6811 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.1451, allocations: 189.4 kB / 0.6813 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.1451, allocations: 3.938 kB / 0.6813 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0007792/0.1459, allocations: 418.8 kB / 0.6817 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.146, allocations: 114.8 kB / 0.6818 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1463, allocations: 373.6 kB / 0.6821 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.1464, allocations: 33.7 kB / 0.6822 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1465, allocations: 244.4 kB / 0.6824 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.1466, allocations: 102.5 kB / 0.6825 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.1467, allocations: 69.69 kB / 0.6826 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1468, allocations: 354.7 kB / 0.6829 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.1471, allocations: 116.8 kB / 0.683 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1473, allocations: 178.2 kB / 0.6832 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.1478, allocations: 274 kB / 0.6835 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1478, allocations: 0 / 0.6835 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005737/0.1484, allocations: 357.6 kB / 0.6838 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1484, allocations: 4 kB / 0.6838 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1484, allocations: 4.125 kB / 0.6838 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1484, allocations: 4 kB / 0.6838 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1487, allocations: 63.89 kB / 0.6839 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1487, allocations: 11.92 kB / 0.6839 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1489, allocations: 43.67 kB / 0.6839 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1489, allocations: 8 kB / 0.6839 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000284/0.1492, allocations: 228.8 kB / 0.6841 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002192/0.1495, allocations: 166.6 kB / 0.6843 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003457/0.1498, allocations: 240.4 kB / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.1498, allocations: 4.031 kB / 0.6845 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0004977/0.1503, allocations: 344.8 kB / 0.6849 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.1503, allocations: 4 kB / 0.6849 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1503, allocations: 4 kB / 0.6849 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-06/0.1504, allocations: 3.938 kB / 0.6849 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.1506, allocations: 63.91 kB / 0.6849 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1506, allocations: 0 / 0.6849 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1508, allocations: 35.95 kB / 0.685 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1508, allocations: 12 kB / 0.685 GB, free: 2.918 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.0001352/0.1509, allocations: 212 kB / 0.6852 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.151, allocations: 43.44 kB / 0.6852 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1511, allocations: 48.28 kB / 0.6853 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1511, allocations: 4 kB / 0.6853 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1511, allocations: 0 / 0.6853 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1511, allocations: 11.92 kB / 0.6853 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1522, allocations: 0.8658 MB / 0.6861 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1522, allocations: 0 / 0.6861 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.1525, allocations: 51.91 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1525, allocations: 3.938 kB / 0.6862 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1525, allocations: 15.98 kB / 0.6862 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1525, allocations: 0 / 0.6862 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1525, allocations: 3.938 kB / 0.6862 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.1533, allocations: 0.5584 MB / 0.6868 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1535, allocations: 140.6 kB / 0.6869 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1535, allocations: 8 kB / 0.6869 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1537, allocations: 19.97 kB / 0.6869 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1538, allocations: 31.97 kB / 0.6869 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1538, allocations: 8 kB / 0.6869 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002339/0.1541, allocations: 263.2 kB / 0.6872 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1541, allocations: 0 / 0.6872 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004295/0.1545, allocations: 151.4 kB / 0.6873 GB, free: 408 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.0001231/0.1546, allocations: 115.1 kB / 0.6875 GB, free: 284 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007687/0.1554, allocations: 436.2 kB / 0.6879 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1554, allocations: 0 / 0.6879 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.1557, allocations: 151.8 kB / 0.688 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.1562, allocations: 83.2 kB / 0.6881 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1574, allocations: 0.8245 MB / 0.6889 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1578, allocations: 0.8198 MB / 0.6897 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000164/0.1579, allocations: 43.27 kB / 0.6897 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.158, allocations: 35.42 kB / 0.6898 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.158, allocations: 3.938 kB / 0.6898 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.007414/0.1654, allocations: 4.221 MB / 0.6939 GB, free: 9.645 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)