Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7546/0.7546, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.0009085/0.0009086, allocations: 170.4 kB / 171.8 MB, free: 2.02 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.32/1.32, allocations: 170.6 MB / 374.2 MB, free: 15.73 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.001471/0.001471, allocations: 117 kB / 444.8 MB, free: 9.246 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.4459/0.4459, allocations: 73.4 MB / 0.6666 GB, free: 46.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5868, allocations: 101.4 MB / 0.7656 GB, free: 3.465 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.587, allocations: 67.97 kB / 0.7657 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.5997, allocations: 4.275 MB / 0.7698 GB, free: 15.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5997, allocations: 0 / 0.7698 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.5997, allocations: 4 kB / 0.7699 GB, free: 15.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004623/0.6002, allocations: 372.4 kB / 0.7702 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6002, allocations: 8.031 kB / 0.7702 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.6003, allocations: 0 / 0.7702 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.6005, allocations: 166.5 kB / 0.7704 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6005, allocations: 0 / 0.7704 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.6005, allocations: 0.5625 kB / 0.7704 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.853e-05/0.6006, allocations: 15.94 kB / 0.7704 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.6007, allocations: 37.69 kB / 0.7704 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6007, allocations: 7.594 kB / 0.7704 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.6007, allocations: 4 kB / 0.7704 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6007, allocations: 0 / 0.7704 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.6012, allocations: 252.5 kB / 0.7707 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.6012, allocations: 22.58 kB / 0.7707 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.6013, allocations: 16.92 kB / 0.7707 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.6019, allocations: 461.4 kB / 0.7712 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.602, allocations: 38.52 kB / 0.7712 GB, free: 13.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.602, allocations: 3.938 kB / 0.7712 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.6022, allocations: 37.7 kB / 0.7712 GB, free: 13.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6022, allocations: 55.41 kB / 0.7713 GB, free: 13.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.6023, allocations: 97.55 kB / 0.7714 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.6023, allocations: 25.7 kB / 0.7714 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.6024, allocations: 84.14 kB / 0.7715 GB, free: 13.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.6024, allocations: 7.906 kB / 0.7715 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.6024, allocations: 4.031 kB / 0.7715 GB, free: 13.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6025, allocations: 310.8 kB / 0.7718 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.6026, allocations: 8.938 kB / 0.7718 GB, free: 12.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.6026, allocations: 4 kB / 0.7718 GB, free: 12.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.6026, allocations: 7.984 kB / 0.7718 GB, free: 12.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6026, allocations: 0 / 0.7718 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.831e-05/0.6027, allocations: 45.64 kB / 0.7719 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6028, allocations: 8 kB / 0.7719 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6028, allocations: 4.094 kB / 0.7719 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6028, allocations: 3.953 kB / 0.7719 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.6029, allocations: 11.98 kB / 0.7719 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6029, allocations: 0 / 0.7719 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.603, allocations: 13.02 kB / 0.7719 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.603, allocations: 0 / 0.7719 GB, free: 12.82 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 (2): * Single equations (assignments): 2 * 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.484e-05/0.6031, allocations: 101.5 kB / 0.772 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.6031, allocations: 7.906 kB / 0.772 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.6033, allocations: 55.31 kB / 0.772 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6033, allocations: 3.953 kB / 0.7721 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6033, allocations: 0 / 0.7721 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6033, allocations: 0 / 0.7721 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.6035, allocations: 142.9 kB / 0.7722 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6035, allocations: 0 / 0.7722 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.6035, allocations: 11.98 kB / 0.7722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6035, allocations: 4.969 kB / 0.7722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.6036, allocations: 0 / 0.7722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6036, allocations: 1 kB / 0.7722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6036, allocations: 0 / 0.7722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.6037, allocations: 143.5 kB / 0.7723 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.6038, allocations: 81.11 kB / 0.7724 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6038, allocations: 3.938 kB / 0.7724 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.6039, allocations: 12.02 kB / 0.7724 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.6039, allocations: 4 kB / 0.7724 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6039, allocations: 1.938 kB / 0.7724 GB, free: 12.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.604, allocations: 84.03 kB / 0.7725 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.604, allocations: 0 / 0.7725 GB, free: 12.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.6042, allocations: 31.78 kB / 0.7726 GB, free: 12.07 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 (2): * Single equations (assignments): 2 * 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.0001712/0.6044, allocations: 111.2 kB / 0.7727 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.643e-05/0.6045, allocations: 16 kB / 0.7727 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6045, allocations: 0 / 0.7727 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.6045, allocations: 4 kB / 0.7727 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.6047, allocations: 8.75 kB / 0.7727 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.605, allocations: 54.62 kB / 0.7727 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.6052, allocations: 0.6846 MB / 0.7734 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.6052, allocations: 0 / 0.7734 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.6053, allocations: 11.56 kB / 0.7734 GB, free: 11.13 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6053, allocations: 4 kB / 0.7734 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Templates: time 0.002745/0.608, allocations: 0.5787 MB / 0.774 GB, free: 10.58 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)