Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.963/1.963, allocations: 287.5 MB / 302.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 192.2 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.41 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 13.45 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1897, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001613/0.1914, allocations: 1.152 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1924, allocations: 0.7696 MB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1925, allocations: 0 / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.1925, allocations: 0 / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.1925, allocations: 8 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.193, allocations: 97.31 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.193, allocations: 27.92 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1931, allocations: 7.984 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.1932, allocations: 15.94 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.1933, allocations: 23.95 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1933, allocations: 0 / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.1936, allocations: 303.3 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1937, allocations: 3.984 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1937, allocations: 29.7 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1939, allocations: 136.1 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1939, allocations: 0 / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1939, allocations: 0 / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.1939, allocations: 0 / 0.9812 GB, free: 25.6 MB / 0.6198 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.0004379/0.1944, allocations: 387.4 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1944, allocations: 8.031 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.1948, allocations: 80.84 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.1949, allocations: 164.3 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.195, allocations: 8.375 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.195, allocations: 384 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1953, allocations: 105.9 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1953, allocations: 0 / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1954, allocations: 3.984 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1954, allocations: 0 / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.1958, allocations: 111.9 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.1963, allocations: 304.8 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1966, allocations: 118.4 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1968, allocations: 68.88 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1969, allocations: 0 / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1969, allocations: 30.56 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1969, allocations: 0 / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0006821/0.1976, allocations: 205.6 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1976, allocations: 55.34 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.1977, allocations: 101.8 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1977, allocations: 29.7 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1977, allocations: 80.14 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1978, allocations: 3.906 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1978, allocations: 8.031 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.1978, allocations: 318.8 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.198, allocations: 55.95 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1982, allocations: 60.81 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1986, allocations: 116.8 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1986, allocations: 0 / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004005/0.199, allocations: 145.6 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.199, allocations: 4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1991, allocations: 256 / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1991, allocations: 3.938 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1992, allocations: 36 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1993, allocations: 3.938 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1994, allocations: 27.97 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1994, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.1994, allocations: 117.8 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1995, allocations: 7.891 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.1995, allocations: 15.11 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1995, allocations: 0 / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1995, allocations: 0 / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-06/0.1995, allocations: 0 / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1997, allocations: 173.6 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1997, allocations: 4 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1998, allocations: 27.97 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1998, allocations: 0 / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1998, allocations: 0 / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1998, allocations: 3.984 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1998, allocations: 0 / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.2003, allocations: 243.4 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2003, allocations: 85.03 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.2003, allocations: 4.031 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2005, allocations: 19.98 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.2005, allocations: 3.984 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2006, allocations: 4 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.2006, allocations: 83.28 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2006, allocations: 0 / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000227/0.2008, allocations: 16 kB / 0.9845 GB, free: 21.9 MB / 0.6198 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 (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.201, allocations: 107.2 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.2015, allocations: 123.8 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2015, allocations: 0 / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.2017, allocations: 60 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.202, allocations: 7.938 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.2025, allocations: 184.5 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.716e-05/0.2026, allocations: 0.677 MB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.91e-05/0.2027, allocations: 15.98 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2028, allocations: 7.438 kB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2028, allocations: 0 / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.002643/0.2054, allocations: 0.7168 MB / 0.9863 GB, free: 19.96 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)