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.6848/0.6848, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.0009708/0.0009707, allocations: 175.5 kB / 176.9 MB, free: 2.293 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.285/1.285, allocations: 170.5 MB / 379.3 MB, free: 11.85 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.001514/0.001513, allocations: 100.6 kB / 450 MB, free: 5.844 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.4799/0.4799, allocations: 73.39 MB / 0.6736 GB, free: 47.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.6125, allocations: 101.4 MB / 0.7726 GB, free: 15.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.6128, allocations: 79.89 kB / 0.7727 GB, free: 15.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01052/0.6233, allocations: 3.993 MB / 0.7766 GB, free: 11.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6233, allocations: 0 / 0.7766 GB, free: 11.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.6233, allocations: 0 / 0.7766 GB, free: 11.28 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.0002392/0.6236, allocations: 330.5 kB / 0.7769 GB, free: 10.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6236, allocations: 8.031 kB / 0.7769 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.6237, allocations: 5.297 kB / 0.7769 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.355e-05/0.6238, allocations: 165.8 kB / 0.7771 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.6238, allocations: 8 kB / 0.7771 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.6238, allocations: 0 / 0.7771 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.6239, allocations: 25.7 kB / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.624, allocations: 0 / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.624, allocations: 3.609 kB / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.624, allocations: 7.938 kB / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.624, allocations: 0 / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.6242, allocations: 147 kB / 0.7773 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.6242, allocations: 26.61 kB / 0.7773 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.6242, allocations: 4.859 kB / 0.7773 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.6247, allocations: 421.6 kB / 0.7777 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6247, allocations: 34.56 kB / 0.7777 GB, free: 9.875 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.6247, allocations: 0.5625 kB / 0.7777 GB, free: 9.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.6249, allocations: 45.53 kB / 0.7778 GB, free: 9.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.6249, allocations: 51.41 kB / 0.7778 GB, free: 9.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.964e-05/0.625, allocations: 85 kB / 0.7779 GB, free: 9.672 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.625, allocations: 29.7 kB / 0.7779 GB, free: 9.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.625, allocations: 84.12 kB / 0.778 GB, free: 9.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.625, allocations: 2.906 kB / 0.778 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-06/0.6251, allocations: 0 / 0.778 GB, free: 9.551 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6252, allocations: 310.8 kB / 0.7783 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.6252, allocations: 4.031 kB / 0.7783 GB, free: 9.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.6252, allocations: 4 kB / 0.7783 GB, free: 9.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.571e-05/0.6252, allocations: 0 / 0.7783 GB, free: 9.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6252, allocations: 0 / 0.7783 GB, free: 9.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.19e-05/0.6253, allocations: 41.64 kB / 0.7784 GB, free: 9.184 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6253, allocations: 4 kB / 0.7784 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6253, allocations: 0 / 0.7784 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.6253, allocations: 0 / 0.7784 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.6254, allocations: 6.328 kB / 0.7784 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6254, allocations: 12.05 kB / 0.7784 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.6254, allocations: 0 / 0.7784 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.6254, allocations: 0 / 0.7784 GB, free: 9.164 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 6.091e-05/0.6255, allocations: 101 kB / 0.7785 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.6255, allocations: 0 / 0.7785 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.6256, allocations: 38.23 kB / 0.7785 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6256, allocations: 1.312 kB / 0.7785 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6256, allocations: 3.984 kB / 0.7785 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6256, allocations: 11.92 kB / 0.7785 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.142e-05/0.6257, allocations: 145.7 kB / 0.7787 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.6257, allocations: 0 / 0.7787 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.6257, allocations: 4 kB / 0.7787 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6257, allocations: 0 / 0.7787 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.6258, allocations: 0 / 0.7787 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6258, allocations: 0 / 0.7787 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6258, allocations: 2.062 kB / 0.7787 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.646e-05/0.6258, allocations: 69.08 kB / 0.7788 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.6259, allocations: 81.02 kB / 0.7788 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.6259, allocations: 0 / 0.7788 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-06/0.6259, allocations: 3.938 kB / 0.7788 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.6259, allocations: 0 / 0.7788 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.6259, allocations: 4 kB / 0.7788 GB, free: 8.617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.515e-05/0.626, allocations: 75.28 kB / 0.7789 GB, free: 8.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.626, allocations: 0 / 0.7789 GB, free: 8.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.6262, allocations: 23.3 kB / 0.7789 GB, free: 8.523 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.0001707/0.6263, allocations: 115.2 kB / 0.779 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.311e-05/0.6264, allocations: 4 kB / 0.779 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6264, allocations: 0 / 0.779 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-06/0.6264, allocations: 4 kB / 0.779 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.127e-05/0.6265, allocations: 3.953 kB / 0.7791 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001388/0.6267, allocations: 52.98 kB / 0.7791 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.6269, allocations: 0.6733 MB / 0.7798 GB, free: 7.617 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.6269, allocations: 4 kB / 0.7798 GB, free: 7.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.6269, allocations: 7.438 kB / 0.7798 GB, free: 7.609 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6269, allocations: 0 / 0.7798 GB, free: 7.609 MB / 490.7 MB Notification: Performance of Templates: time 0.00206/0.629, allocations: 427.7 kB / 0.7802 GB, free: 7.215 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)