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.8453/0.8452, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001202/0.001202, allocations: 178.9 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.755/1.755, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001686/0.001686, allocations: 117 kB / 454.6 MB, free: 9.715 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.2033/0.2038, allocations: 73.4 MB / 0.6812 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.8121, allocations: 102.1 MB / 0.7809 GB, free: 24.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.8125, allocations: 73.38 kB / 0.781 GB, free: 24.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.8257, allocations: 4.302 MB / 0.7852 GB, free: 21.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8258, allocations: 0 / 0.7852 GB, free: 21.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.8258, allocations: 0 / 0.7852 GB, free: 21.63 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.0004954/0.8263, allocations: 379.2 kB / 0.7855 GB, free: 21.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.8264, allocations: 12.56 kB / 0.7855 GB, free: 21.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.8265, allocations: 3.906 kB / 0.7855 GB, free: 21.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8266, allocations: 173.5 kB / 0.7857 GB, free: 21.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.8266, allocations: 0 / 0.7857 GB, free: 21.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.8266, allocations: 0 / 0.7857 GB, free: 21.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.8268, allocations: 60.84 kB / 0.7858 GB, free: 20.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8269, allocations: 0 / 0.7858 GB, free: 20.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8269, allocations: 0 / 0.7858 GB, free: 20.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8269, allocations: 0 / 0.7858 GB, free: 20.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.8271, allocations: 52.34 kB / 0.7858 GB, free: 20.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.8276, allocations: 266.9 kB / 0.7861 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.8277, allocations: 39.28 kB / 0.7861 GB, free: 20.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.8283, allocations: 466.5 kB / 0.7866 GB, free: 20.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.8283, allocations: 34.5 kB / 0.7866 GB, free: 20.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8283, allocations: 4 kB / 0.7866 GB, free: 20.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003877/0.8287, allocations: 103.7 kB / 0.7867 GB, free: 19.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.8287, allocations: 55.53 kB / 0.7867 GB, free: 19.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.8288, allocations: 99.61 kB / 0.7868 GB, free: 19.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.8288, allocations: 25.7 kB / 0.7869 GB, free: 19.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.8289, allocations: 80.14 kB / 0.7869 GB, free: 19.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.8289, allocations: 12.97 kB / 0.787 GB, free: 19.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.8289, allocations: 4.656 kB / 0.787 GB, free: 19.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.829, allocations: 310.8 kB / 0.7873 GB, free: 19.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.8291, allocations: 24.8 kB / 0.7873 GB, free: 19.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.188e-05/0.8292, allocations: 33.2 kB / 0.7873 GB, free: 19.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.8293, allocations: 20.55 kB / 0.7873 GB, free: 19.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8293, allocations: 64 / 0.7873 GB, free: 19.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.8295, allocations: 83.2 kB / 0.7874 GB, free: 19.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8295, allocations: 8.703 kB / 0.7874 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8295, allocations: 0 / 0.7874 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.8296, allocations: 4 kB / 0.7874 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.8297, allocations: 15.17 kB / 0.7874 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.8297, allocations: 0 / 0.7874 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.8298, allocations: 6.906 kB / 0.7874 GB, free: 19.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.8298, allocations: 4 kB / 0.7874 GB, free: 19.19 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 (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.872e-05/0.8299, allocations: 106.5 kB / 0.7875 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.8299, allocations: 6.156 kB / 0.7876 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.8302, allocations: 97.25 kB / 0.7876 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8302, allocations: 0.7969 kB / 0.7876 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8302, allocations: 0 / 0.7876 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8302, allocations: 0 / 0.7876 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.8304, allocations: 159.3 kB / 0.7878 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8304, allocations: 4 kB / 0.7878 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.8305, allocations: 15.12 kB / 0.7878 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8305, allocations: 0 / 0.7878 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8305, allocations: 0 / 0.7878 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8305, allocations: 4.609 kB / 0.7878 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8305, allocations: 0 / 0.7878 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.8308, allocations: 181.7 kB / 0.788 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.8309, allocations: 77.67 kB / 0.7881 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.8309, allocations: 0.6562 kB / 0.7881 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.831, allocations: 10.58 kB / 0.7881 GB, free: 18.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.8311, allocations: 8.484 kB / 0.7881 GB, free: 18.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8311, allocations: 32 / 0.7881 GB, free: 18.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.8311, allocations: 89.06 kB / 0.7882 GB, free: 18.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8311, allocations: 0 / 0.7882 GB, free: 18.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.8314, allocations: 20.53 kB / 0.7882 GB, free: 18.4 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 (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.0002066/0.8316, allocations: 113 kB / 0.7883 GB, free: 18.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.8319, allocations: 49.67 kB / 0.7883 GB, free: 18.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8319, allocations: 6 kB / 0.7884 GB, free: 18.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.832, allocations: 32.94 kB / 0.7884 GB, free: 18.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8323, allocations: 1.125 kB / 0.7884 GB, free: 18.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.8327, allocations: 109.3 kB / 0.7885 GB, free: 18.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.833, allocations: 0.6818 MB / 0.7892 GB, free: 17.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.833, allocations: 0.6094 kB / 0.7892 GB, free: 17.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.8331, allocations: 7.438 kB / 0.7892 GB, free: 17.4 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8331, allocations: 0 / 0.7892 GB, free: 17.4 MB / 490.7 MB Notification: Performance of Templates: time 0.003212/0.8363, allocations: 0.6089 MB / 0.7898 GB, free: 17.05 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)