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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6977/0.6977, allocations: 132.3 MB / 144.9 MB, free: 10.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001259/0.001259, allocations: 175.6 kB / 176.9 MB, free: 2.172 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.269/1.269, allocations: 170.5 MB / 379.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001545/0.001545, allocations: 122 kB / 450 MB, free: 5.848 MB / 346.7 MB [/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.3968/0.3969, allocations: 73.38 MB / 0.6736 GB, free: 47.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.5225, allocations: 100.9 MB / 0.7721 GB, free: 15.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5228, allocations: 82.94 kB / 0.7722 GB, free: 15.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001244/0.5241, allocations: 0.5374 MB / 0.7727 GB, free: 15.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5241, allocations: 4 kB / 0.7727 GB, free: 15.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.5241, allocations: 0 / 0.7727 GB, free: 15.24 MB / 490.7 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.0001989/0.5243, allocations: 306.5 kB / 0.773 GB, free: 14.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5244, allocations: 12.09 kB / 0.773 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.5245, allocations: 15.97 kB / 0.773 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/0.5246, allocations: 161.8 kB / 0.7732 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5246, allocations: 1.125 kB / 0.7732 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.5247, allocations: 0 / 0.7732 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.5248, allocations: 41.62 kB / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.5248, allocations: 0 / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5248, allocations: 3.609 kB / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5248, allocations: 1.625 kB / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.5248, allocations: 0 / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.525, allocations: 153.7 kB / 0.7734 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.525, allocations: 14.58 kB / 0.7734 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.525, allocations: 10.27 kB / 0.7734 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.5251, allocations: 4 kB / 0.7734 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.5251, allocations: 34.5 kB / 0.7734 GB, free: 14.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.5251, allocations: 0 / 0.7734 GB, free: 14.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.5252, allocations: 47.64 kB / 0.7735 GB, free: 14.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5252, allocations: 51.41 kB / 0.7735 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.885e-05/0.5253, allocations: 85 kB / 0.7736 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5253, allocations: 29.7 kB / 0.7737 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.5253, allocations: 84.17 kB / 0.7737 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.5254, allocations: 1.875 kB / 0.7737 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5254, allocations: 0 / 0.7737 GB, free: 14.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5255, allocations: 310.8 kB / 0.774 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.5255, allocations: 3.062 kB / 0.774 GB, free: 13.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.5255, allocations: 4 kB / 0.774 GB, free: 13.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.577e-05/0.5255, allocations: 0 / 0.774 GB, free: 13.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5255, allocations: 0 / 0.774 GB, free: 13.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.751e-05/0.5256, allocations: 49.69 kB / 0.7741 GB, free: 13.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.5256, allocations: 4 kB / 0.7741 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5256, allocations: 1.328 kB / 0.7741 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.5256, allocations: 0 / 0.7741 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.5257, allocations: 4 kB / 0.7741 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5257, allocations: 6.266 kB / 0.7741 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.5258, allocations: 3.984 kB / 0.7741 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5258, allocations: 4 kB / 0.7741 GB, free: 13.63 MB / 490.7 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 () * 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 5.671e-05/0.5258, allocations: 101 kB / 0.7742 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.5259, allocations: 4.031 kB / 0.7742 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.5259, allocations: 6.312 kB / 0.7742 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.5259, allocations: 0 / 0.7742 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5259, allocations: 0 / 0.7742 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5259, allocations: 6.766 kB / 0.7742 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.526, allocations: 153.7 kB / 0.7744 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.526, allocations: 0 / 0.7744 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5261, allocations: 4 kB / 0.7744 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5261, allocations: 0 / 0.7744 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.5261, allocations: 0 / 0.7744 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5261, allocations: 4 kB / 0.7744 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5261, allocations: 0 / 0.7744 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.5262, allocations: 69.02 kB / 0.7744 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.5262, allocations: 77.11 kB / 0.7745 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.5262, allocations: 0 / 0.7745 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.5263, allocations: 10.23 kB / 0.7745 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.5263, allocations: 0 / 0.7745 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.5263, allocations: 8.031 kB / 0.7745 GB, free: 13.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.994e-05/0.5263, allocations: 75.28 kB / 0.7746 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5263, allocations: 0 / 0.7746 GB, free: 13.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.5265, allocations: 0 / 0.7746 GB, free: 13.04 MB / 490.7 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 () * 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.0001031/0.5266, allocations: 95.25 kB / 0.7747 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.316e-05/0.5267, allocations: 8 kB / 0.7747 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5267, allocations: 3.938 kB / 0.7747 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.5267, allocations: 8.062 kB / 0.7747 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.472e-05/0.5268, allocations: 3.953 kB / 0.7747 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/0.527, allocations: 45.05 kB / 0.7748 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.5272, allocations: 0.677 MB / 0.7754 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.5273, allocations: 4.062 kB / 0.7754 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.5273, allocations: 7.438 kB / 0.7754 GB, free: 12.14 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5273, allocations: 0 / 0.7754 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Templates: time 0.001656/0.529, allocations: 227.9 kB / 0.7756 GB, free: 11.94 MB / 490.7 MB 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)