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.2028/0.2035, allocations: 82.21 MB / 0.5933 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003491/0.207, allocations: 2.493 MB / 0.5958 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2086, allocations: 0.9208 MB / 0.5967 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.2088, allocations: 11.94 kB / 0.5967 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.91e-05/0.2089, allocations: 35.66 kB / 0.5967 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.2093, allocations: 103.6 kB / 0.5968 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.2096, allocations: 161.7 kB / 0.597 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.21, allocations: 300 kB / 0.5973 GB, free: 2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.2103, allocations: 157.3 kB / 0.5974 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2105, allocations: 131.3 kB / 0.5975 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2107, allocations: 127.2 kB / 0.5977 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.2107, allocations: 12 kB / 0.5977 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.239e-05/0.2108, allocations: 12 kB / 0.5977 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.2108, allocations: 59.69 kB / 0.5977 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.2109, allocations: 89.45 kB / 0.5978 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.2112, allocations: 387 kB / 0.5982 GB, free: 1.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2112, allocations: 0 / 0.5982 GB, free: 1.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2113, allocations: 4 kB / 0.5982 GB, free: 1.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2113, allocations: 0 / 0.5982 GB, free: 1.027 MB / 446.1 MB 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.001069/0.2123, allocations: 0.666 MB / 0.5989 GB, free: 316 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2124, allocations: 8.031 kB / 0.5989 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2125, allocations: 59.34 kB / 0.5989 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.213, allocations: 373 kB / 0.5993 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.213, allocations: 20.66 kB / 0.5993 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.2131, allocations: 35.95 kB / 0.5993 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.2137, allocations: 364.4 kB / 0.5997 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2137, allocations: 0 / 0.5997 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.2138, allocations: 12 kB / 0.5997 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2138, allocations: 8 kB / 0.5997 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2143, allocations: 262.4 kB / 0.5999 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.216, allocations: 1.206 MB / 0.6011 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.2166, allocations: 274.3 kB / 0.6014 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2166, allocations: 4.188 kB / 0.6014 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.2166, allocations: 34.75 kB / 0.6014 GB, free: 13.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.2166, allocations: 0 / 0.6014 GB, free: 13.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.000715/0.2174, allocations: 353.1 kB / 0.6018 GB, free: 13.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.2175, allocations: 132.5 kB / 0.6019 GB, free: 13.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.2178, allocations: 365.6 kB / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2179, allocations: 33.7 kB / 0.6023 GB, free: 12.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.2181, allocations: 224.3 kB / 0.6025 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.2181, allocations: 78.91 kB / 0.6026 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.2181, allocations: 0 / 0.6026 GB, free: 12.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2183, allocations: 346.8 kB / 0.6029 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2185, allocations: 96.42 kB / 0.603 GB, free: 11.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.2187, allocations: 156.5 kB / 0.6031 GB, free: 11.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.2189, allocations: 105.9 kB / 0.6032 GB, free: 11.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.219, allocations: 0 / 0.6032 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005111/0.2195, allocations: 293.7 kB / 0.6035 GB, free: 11.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.2197, allocations: 372.6 kB / 0.6039 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2197, allocations: 0 / 0.6039 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2197, allocations: 4 kB / 0.6039 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.22, allocations: 51.91 kB / 0.6039 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.22, allocations: 7.938 kB / 0.6039 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.2202, allocations: 47.67 kB / 0.604 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2202, allocations: 12 kB / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2202, allocations: 4 kB / 0.604 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004212/0.2207, allocations: 207.9 kB / 0.6042 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.2207, allocations: 0 / 0.6042 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.2207, allocations: 8.094 kB / 0.6042 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2209, allocations: 51.88 kB / 0.6042 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.2209, allocations: 0 / 0.6042 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2211, allocations: 35.81 kB / 0.6043 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2211, allocations: 8 kB / 0.6043 GB, free: 10.49 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.2213, allocations: 241.1 kB / 0.6045 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.2214, allocations: 35.53 kB / 0.6045 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.2215, allocations: 39.52 kB / 0.6046 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2215, allocations: 7.953 kB / 0.6046 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2215, allocations: 0 / 0.6046 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2215, allocations: 3.984 kB / 0.6046 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.222, allocations: 429.2 kB / 0.605 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.222, allocations: 0 / 0.605 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.2222, allocations: 43.97 kB / 0.605 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2222, allocations: 4 kB / 0.605 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2223, allocations: 12 kB / 0.6051 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2223, allocations: 0 / 0.6051 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2223, allocations: 3.953 kB / 0.6051 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.223, allocations: 488 kB / 0.6055 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.2231, allocations: 136.7 kB / 0.6057 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2232, allocations: 4 kB / 0.6057 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2234, allocations: 35.94 kB / 0.6057 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2235, allocations: 19.97 kB / 0.6057 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2235, allocations: 7.953 kB / 0.6057 GB, free: 8.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.2238, allocations: 255.2 kB / 0.606 GB, free: 8.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2238, allocations: 0 / 0.606 GB, free: 8.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.2242, allocations: 127.5 kB / 0.6061 GB, free: 8.543 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.2243, allocations: 115.2 kB / 0.6062 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.225, allocations: 336.6 kB / 0.6065 GB, free: 8.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.225, allocations: 4.375 kB / 0.6065 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2253, allocations: 119.8 kB / 0.6066 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2257, allocations: 69.02 kB / 0.6067 GB, free: 7.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2272, allocations: 0.8687 MB / 0.6076 GB, free: 7.012 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2276, allocations: 0.8148 MB / 0.6083 GB, free: 6.168 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2277, allocations: 30.97 kB / 0.6084 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.2278, allocations: 27.42 kB / 0.6084 GB, free: 6.109 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2278, allocations: 0 / 0.6084 GB, free: 6.109 MB / 462.1 MB Notification: Performance of Templates: time 0.007224/0.2351, allocations: 3.299 MB / 0.6116 GB, free: 2.852 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: