Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") [/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.1786/0.1807, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002858/0.1837, allocations: 1.404 MB / 0.672 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1849, allocations: 0.745 MB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1849, allocations: 0 / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.185, allocations: 7.922 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.185, allocations: 3.938 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.1854, allocations: 99.62 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.1855, allocations: 35.92 kB / 0.6729 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1856, allocations: 7.984 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.1857, allocations: 19.92 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.1858, allocations: 15.97 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1858, allocations: 4 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.1862, allocations: 231.5 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1862, allocations: 4 kB / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1863, allocations: 15.92 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1866, allocations: 163.5 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1866, allocations: 4 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1866, allocations: 0 / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1866, allocations: 0 / 0.6733 GB, free: 15.26 MB / 0.5137 GB 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.0006209/0.1872, allocations: 367.1 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1873, allocations: 8.031 kB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.1877, allocations: 72.8 kB / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.188, allocations: 168.3 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.188, allocations: 4.375 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.188, allocations: 3.938 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1883, allocations: 85.62 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1884, allocations: 0 / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1884, allocations: 0 / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1884, allocations: 0 / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.1888, allocations: 91.84 kB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.1893, allocations: 308.7 kB / 0.6744 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1898, allocations: 94.5 kB / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.19, allocations: 48.88 kB / 0.6745 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.19, allocations: 0 / 0.6745 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1901, allocations: 42.55 kB / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1901, allocations: 0 / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007137/0.1908, allocations: 165.6 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1908, allocations: 51.41 kB / 0.6748 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.1909, allocations: 101.8 kB / 0.6748 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1909, allocations: 25.7 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.191, allocations: 88.14 kB / 0.675 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.191, allocations: 3.953 kB / 0.675 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1911, allocations: 21.64 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1912, allocations: 318.8 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1914, allocations: 43.98 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1916, allocations: 47.95 kB / 0.6754 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.192, allocations: 88.83 kB / 0.6755 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.192, allocations: 0 / 0.6755 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004283/0.1924, allocations: 129.5 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1924, allocations: 4 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1925, allocations: 0 / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1925, allocations: 0 / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1926, allocations: 23.97 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1927, allocations: 4.031 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1928, allocations: 15.97 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1928, allocations: 4 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.1929, allocations: 109.8 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.1929, allocations: 7.953 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.193, allocations: 7.125 kB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.193, allocations: 4 kB / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.193, allocations: 0 / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.193, allocations: 0 / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1932, allocations: 177.6 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1932, allocations: 0 / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1933, allocations: 28.16 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1934, allocations: 0 / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1934, allocations: 7.938 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1934, allocations: 0 / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1934, allocations: 4 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.1939, allocations: 219.4 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.194, allocations: 77.11 kB / 0.6762 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.194, allocations: 7.984 kB / 0.6763 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1941, allocations: 11.98 kB / 0.6763 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.1942, allocations: 8.031 kB / 0.6763 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1942, allocations: 3.984 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.1943, allocations: 83.28 kB / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.324e-06/0.1943, allocations: 0 / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002593/0.1946, allocations: 23.81 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.1948, allocations: 115.1 kB / 0.6765 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.1952, allocations: 95.84 kB / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1953, allocations: 4 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.1955, allocations: 52 kB / 0.6766 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1958, allocations: 0 / 0.6766 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.1964, allocations: 161.4 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1967, allocations: 0.6768 MB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.1968, allocations: 12 kB / 0.6775 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1968, allocations: 11.44 kB / 0.6775 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1968, allocations: 0 / 0.6775 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.003298/0.2001, allocations: 0.8245 MB / 0.6783 GB, free: 9.797 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)