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.2368/0.2394, allocations: 80.84 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002948/0.2424, allocations: 0.5508 MB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.2429, allocations: 43.86 kB / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.2429, allocations: 0 / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.243, allocations: 0 / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.243, allocations: 0 / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.2433, allocations: 15.91 kB / 0.6712 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.2434, allocations: 4 kB / 0.6712 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.2435, allocations: 4 kB / 0.6713 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.2435, allocations: 3.938 kB / 0.6713 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.2436, allocations: 8 kB / 0.6713 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.2436, allocations: 0 / 0.6713 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2437, allocations: 19.97 kB / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2438, allocations: 0 / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.2438, allocations: 4 kB / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.2439, allocations: 19.97 kB / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2439, allocations: 0 / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2439, allocations: 0 / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.244, allocations: 0 / 0.6713 GB, free: 1.316 MB / 0.4981 GB 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.0003905/0.2443, allocations: 315.5 kB / 0.6716 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2444, allocations: 16.03 kB / 0.6716 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.2448, allocations: 16.91 kB / 0.6716 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2449, allocations: 164.3 kB / 0.6718 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2449, allocations: 384 / 0.6718 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2449, allocations: 384 / 0.6718 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2451, allocations: 41.61 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2452, allocations: 3.938 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2452, allocations: 8 kB / 0.6718 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2452, allocations: 0 / 0.6718 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.2453, allocations: 11.98 kB / 0.6719 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.2455, allocations: 145.6 kB / 0.672 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.2456, allocations: 26.88 kB / 0.672 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.2456, allocations: 8.922 kB / 0.672 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2457, allocations: 7.938 kB / 0.672 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2457, allocations: 34.56 kB / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2457, allocations: 0 / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002707/0.246, allocations: 45.67 kB / 0.6721 GB, free: 328 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2461, allocations: 51.41 kB / 0.6722 GB, free: 264 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.2462, allocations: 89.86 kB / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2462, allocations: 29.83 kB / 0.6723 GB, free: 128 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.2463, allocations: 88.08 kB / 0.6724 GB, free: 36 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.2463, allocations: 0 / 0.6724 GB, free: 36 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.2463, allocations: 13.72 kB / 0.6724 GB, free: 16 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2465, allocations: 318.9 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.2466, allocations: 4 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/0.2466, allocations: 7.984 kB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.2467, allocations: 16.92 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2467, allocations: 3.984 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001215/0.2469, allocations: 41.62 kB / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2469, allocations: 4 kB / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2469, allocations: 0 / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2469, allocations: 4 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.247, allocations: 3.938 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.247, allocations: 4.031 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.2471, allocations: 7.984 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2471, allocations: 0 / 0.6728 GB, free: 15.59 MB / 0.5137 GB 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 9.303e-05/0.2472, allocations: 109.8 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.2472, allocations: 3.938 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.2473, allocations: 7.125 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2473, allocations: 0 / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2473, allocations: 0 / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2473, allocations: 0 / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2475, allocations: 157.6 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2475, allocations: 0 / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.2475, allocations: 7.938 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2475, allocations: 0 / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.2475, allocations: 3.938 kB / 0.6731 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2475, allocations: 0 / 0.6731 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.2476, allocations: 11.91 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2477, allocations: 69.12 kB / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.2478, allocations: 84.98 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2478, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.2479, allocations: 7.984 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.2479, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2479, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.2479, allocations: 75.28 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.248, allocations: 0 / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001949/0.2482, allocations: 4 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB 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.0001641/0.2483, allocations: 99.27 kB / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.2485, allocations: 15.98 kB / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2485, allocations: 0 / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.2486, allocations: 7.984 kB / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2487, allocations: 4 kB / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.2491, allocations: 100.9 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.2495, allocations: 0.669 MB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2495, allocations: 0 / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2495, allocations: 7.438 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.2495, allocations: 4 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.002934/0.2525, allocations: 236.5 kB / 0.6744 GB, free: 13.76 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (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)