Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8563/0.8563, allocations: 133.7 MB / 148.6 MB, free: 13.63 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.001167/0.001167, allocations: 174.6 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.833/1.833, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001602/0.001602, allocations: 111.2 kB / 454.6 MB, free: 9.723 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.1735/0.1739, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5234/0.6974, allocations: 101.5 MB / 0.7803 GB, free: 24.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.6977, allocations: 77.64 kB / 0.7804 GB, free: 24.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.7085, allocations: 3.988 MB / 0.7843 GB, free: 22.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7086, allocations: 0 / 0.7843 GB, free: 22.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.7086, allocations: 0 / 0.7843 GB, free: 22.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002939/0.7089, allocations: 343.1 kB / 0.7846 GB, free: 21.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.709, allocations: 8.031 kB / 0.7846 GB, free: 21.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.709, allocations: 4.703 kB / 0.7846 GB, free: 21.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.7091, allocations: 167.1 kB / 0.7848 GB, free: 21.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.7091, allocations: 0 / 0.7848 GB, free: 21.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.7091, allocations: 5.734 kB / 0.7848 GB, free: 21.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.7092, allocations: 26.36 kB / 0.7848 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.7093, allocations: 4 kB / 0.7848 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7093, allocations: 0.5625 kB / 0.7848 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7093, allocations: 0 / 0.7848 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.7093, allocations: 3.625 kB / 0.7848 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.7094, allocations: 147.5 kB / 0.7849 GB, free: 21.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.74e-05/0.7095, allocations: 27.34 kB / 0.785 GB, free: 21.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.7099, allocations: 424.6 kB / 0.7854 GB, free: 20.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.7099, allocations: 31.17 kB / 0.7854 GB, free: 20.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.71, allocations: 0 / 0.7854 GB, free: 20.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.7101, allocations: 38.7 kB / 0.7854 GB, free: 20.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.7101, allocations: 55.53 kB / 0.7855 GB, free: 20.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.418e-05/0.7101, allocations: 85.75 kB / 0.7856 GB, free: 20.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.7102, allocations: 30.31 kB / 0.7856 GB, free: 20.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.7102, allocations: 80.14 kB / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.7102, allocations: 2.344 kB / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.7102, allocations: 3.938 kB / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.7103, allocations: 311.6 kB / 0.786 GB, free: 20.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.7103, allocations: 0 / 0.786 GB, free: 20.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.7103, allocations: 8.703 kB / 0.786 GB, free: 20.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.534e-05/0.7103, allocations: 0.8438 kB / 0.786 GB, free: 20.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7103, allocations: 3.938 kB / 0.786 GB, free: 20.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.244e-05/0.7104, allocations: 35.11 kB / 0.786 GB, free: 20.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7104, allocations: 8 kB / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.7104, allocations: 0 / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7104, allocations: 0.75 kB / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.91e-05/0.7105, allocations: 3.125 kB / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7105, allocations: 0 / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.7105, allocations: 8.703 kB / 0.7861 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.7105, allocations: 5.219 kB / 0.7861 GB, free: 20.12 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 () * 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 4.359e-05/0.7106, allocations: 106.6 kB / 0.7862 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.7106, allocations: 0 / 0.7862 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.7107, allocations: 46.73 kB / 0.7862 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7107, allocations: 0 / 0.7862 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7107, allocations: 0 / 0.7862 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7107, allocations: 0 / 0.7862 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.664e-05/0.7108, allocations: 151.8 kB / 0.7863 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.7108, allocations: 0 / 0.7863 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.7108, allocations: 4.75 kB / 0.7864 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.7108, allocations: 0 / 0.7864 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7108, allocations: 0 / 0.7864 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7108, allocations: 0.6094 kB / 0.7864 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7108, allocations: 2.906 kB / 0.7864 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/0.7109, allocations: 66.7 kB / 0.7864 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.7109, allocations: 81.75 kB / 0.7865 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.7109, allocations: 0.6562 kB / 0.7865 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/0.711, allocations: 0 / 0.7865 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.711, allocations: 0.6094 kB / 0.7865 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.711, allocations: 4.562 kB / 0.7865 GB, free: 19.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.55e-05/0.711, allocations: 75.28 kB / 0.7866 GB, free: 19.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.711, allocations: 0 / 0.7866 GB, free: 19.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.7112, allocations: 16.64 kB / 0.7866 GB, free: 19.49 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 () * 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.0001828/0.7114, allocations: 117.2 kB / 0.7867 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.7115, allocations: 8.625 kB / 0.7867 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7115, allocations: 0 / 0.7867 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.7115, allocations: 7.938 kB / 0.7867 GB, free: 19.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.306e-05/0.7116, allocations: 8.406 kB / 0.7867 GB, free: 19.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.7118, allocations: 72.58 kB / 0.7868 GB, free: 19.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.7119, allocations: 0.6751 MB / 0.7875 GB, free: 18.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.897e-05/0.7119, allocations: 4.125 kB / 0.7875 GB, free: 18.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.7119, allocations: 8.047 kB / 0.7875 GB, free: 18.55 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.712, allocations: 0 / 0.7875 GB, free: 18.55 MB / 490.7 MB Notification: Performance of Templates: time 0.002209/0.7142, allocations: 431.1 kB / 0.7879 GB, free: 18.3 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)