Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") [/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.1995/0.2003, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00106/0.2014, allocations: 288.9 kB / 0.5944 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.2018, allocations: 43.86 kB / 0.5944 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.2019, allocations: 0 / 0.5944 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2019, allocations: 0 / 0.5944 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.2019, allocations: 0 / 0.5944 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.2022, allocations: 15.98 kB / 0.5945 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.2023, allocations: 0 / 0.5945 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.058e-05/0.2024, allocations: 4 kB / 0.5945 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.2024, allocations: 3.984 kB / 0.5945 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.2025, allocations: 0 / 0.5945 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2025, allocations: 0 / 0.5945 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2026, allocations: 27.91 kB / 0.5945 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.2027, allocations: 0 / 0.5945 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.2027, allocations: 33.58 kB / 0.5945 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2028, allocations: 15.98 kB / 0.5945 GB, free: 5.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2029, allocations: 4 kB / 0.5945 GB, free: 5.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2029, allocations: 0 / 0.5945 GB, free: 5.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2029, allocations: 0 / 0.5945 GB, free: 5.125 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004384/0.2033, allocations: 311.5 kB / 0.5948 GB, free: 4.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.2034, allocations: 12.09 kB / 0.5949 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.2037, allocations: 20.91 kB / 0.5949 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2038, allocations: 160.7 kB / 0.595 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2039, allocations: 4.375 kB / 0.595 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2039, allocations: 384 / 0.595 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.204, allocations: 37.81 kB / 0.5951 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.2041, allocations: 3.984 kB / 0.5951 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2041, allocations: 0 / 0.5951 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.2041, allocations: 4 kB / 0.5951 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.2042, allocations: 7.984 kB / 0.5951 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.2044, allocations: 149.6 kB / 0.5952 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.2045, allocations: 30.61 kB / 0.5953 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.2045, allocations: 12.91 kB / 0.5953 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2045, allocations: 3.984 kB / 0.5953 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2046, allocations: 34.5 kB / 0.5953 GB, free: 4.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.2046, allocations: 0 / 0.5953 GB, free: 4.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002624/0.2049, allocations: 53.61 kB / 0.5954 GB, free: 4.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.205, allocations: 51.41 kB / 0.5954 GB, free: 4.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.807e-05/0.205, allocations: 93.8 kB / 0.5955 GB, free: 3.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2051, allocations: 33.7 kB / 0.5955 GB, free: 3.926 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2051, allocations: 80.14 kB / 0.5956 GB, free: 3.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.2051, allocations: 7.844 kB / 0.5956 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2052, allocations: 9.719 kB / 0.5956 GB, free: 3.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2053, allocations: 310.8 kB / 0.5959 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.2054, allocations: 12.11 kB / 0.5959 GB, free: 3.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.2054, allocations: 4 kB / 0.5959 GB, free: 3.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.2055, allocations: 12.84 kB / 0.5959 GB, free: 3.477 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2055, allocations: 0 / 0.5959 GB, free: 3.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001329/0.2057, allocations: 49.62 kB / 0.596 GB, free: 3.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2057, allocations: 12.03 kB / 0.596 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.2057, allocations: 0 / 0.596 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2057, allocations: 0 / 0.596 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.2058, allocations: 7.984 kB / 0.596 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2058, allocations: 0 / 0.596 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.2058, allocations: 0 / 0.596 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2059, allocations: 4 kB / 0.596 GB, free: 3.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.635e-05/0.206, allocations: 110.7 kB / 0.5961 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.206, allocations: 7.922 kB / 0.5961 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.206, allocations: 7.125 kB / 0.5961 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.206, allocations: 0 / 0.5961 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.206, allocations: 0 / 0.5961 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.206, allocations: 4 kB / 0.5961 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.2062, allocations: 141.7 kB / 0.5963 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2062, allocations: 0 / 0.5963 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.2062, allocations: 7.984 kB / 0.5963 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2062, allocations: 3.938 kB / 0.5963 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2062, allocations: 0 / 0.5963 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2062, allocations: 0 / 0.5963 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2062, allocations: 4 kB / 0.5963 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.2064, allocations: 73.05 kB / 0.5964 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.2065, allocations: 85.05 kB / 0.5964 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2065, allocations: 0 / 0.5964 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.886e-05/0.2065, allocations: 0 / 0.5964 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.2065, allocations: 0 / 0.5964 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2066, allocations: 11.97 kB / 0.5964 GB, free: 2.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.2066, allocations: 75.28 kB / 0.5965 GB, free: 2.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2066, allocations: 0 / 0.5965 GB, free: 2.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.2068, allocations: 4 kB / 0.5965 GB, free: 2.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002643/0.207, allocations: 99.23 kB / 0.5966 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.2072, allocations: 11.98 kB / 0.5966 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2072, allocations: 4.062 kB / 0.5966 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.2073, allocations: 7.938 kB / 0.5966 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2074, allocations: 0 / 0.5966 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.2078, allocations: 86.69 kB / 0.5967 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.2082, allocations: 0.6731 MB / 0.5974 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.192e-05/0.2083, allocations: 8.047 kB / 0.5974 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.2083, allocations: 7.438 kB / 0.5974 GB, free: 1.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2083, allocations: 0 / 0.5974 GB, free: 1.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002478/0.2108, allocations: 224.8 kB / 0.5976 GB, free: 1.602 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: