Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") [/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.2414/0.2437, allocations: 80.83 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.007501/0.2512, allocations: 2.994 MB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.2545, allocations: 0.971 MB / 0.6745 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.2551, allocations: 11.94 kB / 0.6745 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.2555, allocations: 67.27 kB / 0.6745 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.2559, allocations: 103.2 kB / 0.6746 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.2567, allocations: 215.6 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.2575, allocations: 0.4991 MB / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.2581, allocations: 221.7 kB / 0.6755 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.2585, allocations: 183.2 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.2589, allocations: 191 kB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.259, allocations: 52 kB / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/0.2591, allocations: 48 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2592, allocations: 95.64 kB / 0.6761 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.2595, allocations: 210.8 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007652/0.2602, allocations: 0.5293 MB / 0.6768 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2603, allocations: 0 / 0.6768 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2603, allocations: 0 / 0.6768 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.2603, allocations: 0 / 0.6768 GB, free: 11.63 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001541/0.2618, allocations: 0.7285 MB / 0.6775 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.2619, allocations: 8.031 kB / 0.6775 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2621, allocations: 52.28 kB / 0.6776 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.2629, allocations: 394.1 kB / 0.678 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.263, allocations: 29.02 kB / 0.678 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.263, allocations: 28.38 kB / 0.678 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.2639, allocations: 368.8 kB / 0.6784 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.2639, allocations: 0 / 0.6784 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.264, allocations: 16 kB / 0.6784 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.264, allocations: 8 kB / 0.6784 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.2647, allocations: 242.5 kB / 0.6786 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.267, allocations: 1.186 MB / 0.6798 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.2678, allocations: 266.8 kB / 0.68 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.2681, allocations: 116.8 kB / 0.6801 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.2682, allocations: 4.375 kB / 0.6801 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2682, allocations: 46.44 kB / 0.6802 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.2682, allocations: 0 / 0.6802 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.001052/0.2693, allocations: 322.3 kB / 0.6805 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.2694, allocations: 136.5 kB / 0.6806 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.27, allocations: 365.6 kB / 0.681 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.27, allocations: 41.64 kB / 0.681 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2703, allocations: 224.3 kB / 0.6812 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.2704, allocations: 74.94 kB / 0.6813 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.2705, allocations: 53.84 kB / 0.6813 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2707, allocations: 346.8 kB / 0.6817 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.2711, allocations: 93.75 kB / 0.6818 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2714, allocations: 154.9 kB / 0.6819 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.272, allocations: 211.9 kB / 0.6821 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.272, allocations: 4 kB / 0.6821 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007741/0.2728, allocations: 281.1 kB / 0.6824 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.2728, allocations: 4.781 kB / 0.6824 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2729, allocations: 0 / 0.6824 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.2729, allocations: 4 kB / 0.6824 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.2733, allocations: 52 kB / 0.6824 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2733, allocations: 4 kB / 0.6825 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.2736, allocations: 39.72 kB / 0.6825 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2737, allocations: 8 kB / 0.6825 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004151/0.2741, allocations: 200.3 kB / 0.6827 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002846/0.2744, allocations: 137.9 kB / 0.6828 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004979/0.2749, allocations: 191.4 kB / 0.683 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.2749, allocations: 0 / 0.683 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0007086/0.2757, allocations: 265 kB / 0.6833 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2757, allocations: 8.094 kB / 0.6833 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2757, allocations: 0 / 0.6833 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2757, allocations: 4 kB / 0.6833 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.276, allocations: 43.92 kB / 0.6833 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.276, allocations: 0 / 0.6833 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.2763, allocations: 35.81 kB / 0.6833 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.2764, allocations: 4 kB / 0.6833 GB, free: 4.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002436/0.2766, allocations: 204.1 kB / 0.6835 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2767, allocations: 35.53 kB / 0.6836 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.2769, allocations: 43.52 kB / 0.6836 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2769, allocations: 0 / 0.6836 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2769, allocations: 0 / 0.6836 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.2769, allocations: 7.922 kB / 0.6836 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.2777, allocations: 433.2 kB / 0.684 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2777, allocations: 3.938 kB / 0.684 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.2781, allocations: 43.91 kB / 0.6841 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.2781, allocations: 4 kB / 0.6841 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.2782, allocations: 12 kB / 0.6841 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2782, allocations: 3.938 kB / 0.6841 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2782, allocations: 0 / 0.6841 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2793, allocations: 469.7 kB / 0.6846 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.2796, allocations: 136.7 kB / 0.6847 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.2797, allocations: 12.06 kB / 0.6847 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.28, allocations: 19.97 kB / 0.6847 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.2801, allocations: 19.92 kB / 0.6847 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.2801, allocations: 11.98 kB / 0.6847 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004015/0.2805, allocations: 255.2 kB / 0.685 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2805, allocations: 0 / 0.685 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008142/0.2814, allocations: 127.4 kB / 0.6851 GB, free: 2.676 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001877/0.2816, allocations: 111.2 kB / 0.6852 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2826, allocations: 323.8 kB / 0.6855 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.2827, allocations: 0 / 0.6855 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.283, allocations: 119.8 kB / 0.6856 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.284, allocations: 100.8 kB / 0.6857 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.2865, allocations: 0.712 MB / 0.6864 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.2871, allocations: 0.7989 MB / 0.6872 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.2874, allocations: 46.92 kB / 0.6873 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2876, allocations: 27.44 kB / 0.6873 GB, free: 420 kB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2876, allocations: 3.938 kB / 0.6873 GB, free: 416 kB / 0.5137 GB Notification: Performance of Templates: time 0.01355/0.3011, allocations: 3.709 MB / 0.6909 GB, free: 12.72 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)