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.2114/0.2122, allocations: 82.22 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007813/0.213, allocations: 280.9 kB / 0.5937 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000292/0.2133, allocations: 55.83 kB / 0.5938 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.2133, allocations: 0 / 0.5938 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.2134, allocations: 0 / 0.5938 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.2134, allocations: 0 / 0.5938 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2136, allocations: 7.984 kB / 0.5938 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.2137, allocations: 3.938 kB / 0.5938 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.2137, allocations: 4 kB / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.2138, allocations: 0 / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.2138, allocations: 8 kB / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2138, allocations: 0 / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2139, allocations: 23.91 kB / 0.5938 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.214, allocations: 3.984 kB / 0.5938 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.214, allocations: 25.7 kB / 0.5939 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.824e-05/0.2141, allocations: 11.98 kB / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2141, allocations: 0 / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2141, allocations: 0 / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2141, allocations: 4 kB / 0.5939 GB, free: 5.523 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.0003662/0.2145, allocations: 307.4 kB / 0.5942 GB, free: 5.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2145, allocations: 12.09 kB / 0.5942 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.2148, allocations: 15.97 kB / 0.5942 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.215, allocations: 159.4 kB / 0.5944 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.215, allocations: 7.984 kB / 0.5944 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.215, allocations: 0 / 0.5944 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2152, allocations: 41.64 kB / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2152, allocations: 0 / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2152, allocations: 0 / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2153, allocations: 4 kB / 0.5944 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.2153, allocations: 11.92 kB / 0.5944 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.2155, allocations: 141.7 kB / 0.5946 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.2156, allocations: 30.62 kB / 0.5946 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.2157, allocations: 12.92 kB / 0.5946 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2157, allocations: 0 / 0.5946 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2158, allocations: 30.56 kB / 0.5946 GB, free: 4.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2158, allocations: 0 / 0.5946 GB, free: 4.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002293/0.216, allocations: 53.56 kB / 0.5947 GB, free: 4.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2161, allocations: 55.53 kB / 0.5947 GB, free: 4.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2162, allocations: 89.86 kB / 0.5948 GB, free: 4.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2162, allocations: 33.64 kB / 0.5948 GB, free: 4.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2163, allocations: 80.14 kB / 0.5949 GB, free: 4.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.2163, allocations: 15.78 kB / 0.5949 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.2163, allocations: 0 / 0.5949 GB, free: 4.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2165, allocations: 314.8 kB / 0.5952 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.2166, allocations: 4 kB / 0.5952 GB, free: 3.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.2166, allocations: 8 kB / 0.5953 GB, free: 3.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.2167, allocations: 3.984 kB / 0.5953 GB, free: 3.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2167, allocations: 4 kB / 0.5953 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001172/0.2168, allocations: 41.62 kB / 0.5953 GB, free: 3.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2168, allocations: 4 kB / 0.5953 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2168, allocations: 0 / 0.5953 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2168, allocations: 3.953 kB / 0.5953 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.2169, allocations: 7.984 kB / 0.5953 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2169, allocations: 4.094 kB / 0.5953 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.217, allocations: 4 kB / 0.5953 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.217, allocations: 0 / 0.5953 GB, free: 3.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.2171, allocations: 110.7 kB / 0.5954 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.2171, allocations: 0 / 0.5954 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2171, allocations: 7.109 kB / 0.5954 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2171, allocations: 0 / 0.5954 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2172, allocations: 7.953 kB / 0.5954 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2172, allocations: 4 kB / 0.5954 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.614e-05/0.2173, allocations: 145.7 kB / 0.5956 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2173, allocations: 0 / 0.5956 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.2173, allocations: 7.984 kB / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2173, allocations: 0 / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2173, allocations: 0 / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2173, allocations: 0 / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2174, allocations: 0 / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.2175, allocations: 77.02 kB / 0.5957 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.2176, allocations: 81.09 kB / 0.5957 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2176, allocations: 0 / 0.5957 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.2176, allocations: 0 / 0.5957 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.2176, allocations: 7.984 kB / 0.5958 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2176, allocations: 0 / 0.5958 GB, free: 3.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.2177, allocations: 79.23 kB / 0.5958 GB, free: 3.223 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.186e-06/0.2177, allocations: 0 / 0.5958 GB, free: 3.223 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.2179, allocations: 7.969 kB / 0.5958 GB, free: 3.215 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 (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.0001161/0.218, allocations: 99.23 kB / 0.5959 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2181, allocations: 15.97 kB / 0.5959 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2182, allocations: 0 / 0.5959 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.2182, allocations: 15.88 kB / 0.596 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2183, allocations: 0 / 0.596 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.2186, allocations: 79.12 kB / 0.596 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.219, allocations: 0.677 MB / 0.5967 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.219, allocations: 0 / 0.5967 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.2191, allocations: 7.438 kB / 0.5967 GB, free: 2.262 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2191, allocations: 0 / 0.5967 GB, free: 2.262 MB / 446.1 MB Notification: Performance of Templates: time 0.002239/0.2213, allocations: 210.7 kB / 0.5969 GB, free: 2.059 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: