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.2213/0.2237, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.006382/0.2301, allocations: 2.987 MB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2331, allocations: 0.9826 MB / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007085/0.2338, allocations: 11.94 kB / 0.6745 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.2342, allocations: 63.33 kB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005694/0.2349, allocations: 95.11 kB / 0.6746 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.2357, allocations: 223 kB / 0.6749 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00066/0.2364, allocations: 0.4913 MB / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.2368, allocations: 225.7 kB / 0.6755 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.2371, allocations: 183.2 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.2374, allocations: 187 kB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.2374, allocations: 44 kB / 0.6759 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.2375, allocations: 48 kB / 0.676 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.2376, allocations: 103.6 kB / 0.6761 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.2378, allocations: 210.9 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.2384, allocations: 0.5371 MB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.2385, allocations: 0 / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2385, allocations: 0 / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.2385, allocations: 0 / 0.6768 GB, free: 11.62 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.001394/0.2399, allocations: 0.7206 MB / 0.6775 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.24, allocations: 12.03 kB / 0.6775 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.2401, allocations: 56.28 kB / 0.6776 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.2408, allocations: 390.1 kB / 0.678 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2408, allocations: 25.03 kB / 0.678 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.2409, allocations: 36.38 kB / 0.678 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.2416, allocations: 356.8 kB / 0.6784 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2416, allocations: 11.88 kB / 0.6784 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.2417, allocations: 8 kB / 0.6784 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2417, allocations: 8 kB / 0.6784 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.2422, allocations: 250.5 kB / 0.6786 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.244, allocations: 1.186 MB / 0.6798 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.2447, allocations: 266.8 kB / 0.68 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.2449, allocations: 112.8 kB / 0.6801 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.245, allocations: 4.375 kB / 0.6801 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.245, allocations: 42.48 kB / 0.6802 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.245, allocations: 0 / 0.6802 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007404/0.2458, allocations: 330.2 kB / 0.6805 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.2459, allocations: 132.5 kB / 0.6806 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.2463, allocations: 365.6 kB / 0.681 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2463, allocations: 33.64 kB / 0.681 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2465, allocations: 224.3 kB / 0.6812 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.2465, allocations: 74.94 kB / 0.6813 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.2466, allocations: 57.84 kB / 0.6813 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2468, allocations: 346.8 kB / 0.6817 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.247, allocations: 93.75 kB / 0.6818 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2473, allocations: 150.9 kB / 0.6819 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2477, allocations: 211.8 kB / 0.6821 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2477, allocations: 0 / 0.6821 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005418/0.2482, allocations: 289.1 kB / 0.6824 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2483, allocations: 8 kB / 0.6824 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2483, allocations: 0 / 0.6824 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2483, allocations: 0 / 0.6824 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2485, allocations: 51.97 kB / 0.6824 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.2486, allocations: 11.92 kB / 0.6825 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2488, allocations: 31.73 kB / 0.6825 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2488, allocations: 20.08 kB / 0.6825 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002721/0.2491, allocations: 196.3 kB / 0.6827 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001902/0.2493, allocations: 130 kB / 0.6828 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000286/0.2496, allocations: 195.4 kB / 0.683 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.2496, allocations: 0 / 0.683 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004056/0.25, allocations: 261.1 kB / 0.6832 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.25, allocations: 8 kB / 0.6833 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-06/0.25, allocations: 0 / 0.6833 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.25, allocations: 0 / 0.6833 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.2502, allocations: 51.84 kB / 0.6833 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2502, allocations: 8.094 kB / 0.6833 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2504, allocations: 31.81 kB / 0.6833 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2504, allocations: 12 kB / 0.6834 GB, free: 4.551 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.0001565/0.2506, allocations: 196.1 kB / 0.6835 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.2507, allocations: 39.53 kB / 0.6836 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.2508, allocations: 35.52 kB / 0.6836 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2508, allocations: 4 kB / 0.6836 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2508, allocations: 4 kB / 0.6836 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2508, allocations: 3.938 kB / 0.6836 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.2513, allocations: 433.2 kB / 0.684 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2513, allocations: 3.938 kB / 0.684 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.2515, allocations: 43.92 kB / 0.6841 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2516, allocations: 0 / 0.6841 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2516, allocations: 11.98 kB / 0.6841 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2516, allocations: 0 / 0.6841 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2516, allocations: 0 / 0.6841 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.2524, allocations: 477.7 kB / 0.6846 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2525, allocations: 132.7 kB / 0.6847 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.2526, allocations: 4 kB / 0.6847 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2528, allocations: 19.98 kB / 0.6847 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2529, allocations: 19.91 kB / 0.6847 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2529, allocations: 16 kB / 0.6847 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002616/0.2532, allocations: 263.2 kB / 0.685 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 0.685 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000471/0.2536, allocations: 131.4 kB / 0.6851 GB, free: 2.66 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.0002206/0.2539, allocations: 103.2 kB / 0.6852 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008483/0.2547, allocations: 327.8 kB / 0.6855 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2547, allocations: 4 kB / 0.6855 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.255, allocations: 115.8 kB / 0.6856 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.2556, allocations: 83.89 kB / 0.6857 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2572, allocations: 0.7237 MB / 0.6864 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.2577, allocations: 0.8028 MB / 0.6872 GB, free: 468 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.2579, allocations: 38.95 kB / 0.6872 GB, free: 432 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.258, allocations: 31.42 kB / 0.6873 GB, free: 404 kB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.258, allocations: 0 / 0.6873 GB, free: 404 kB / 0.5137 GB Notification: Performance of Templates: time 0.00903/0.267, allocations: 3.803 MB / 0.691 GB, free: 12.61 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)