Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.69 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1912, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00232/0.1935, allocations: 1.434 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1946, allocations: 0.8322 MB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1946, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1947, allocations: 7.938 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.1947, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1951, allocations: 130.2 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.1952, allocations: 35.84 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.1953, allocations: 12 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.1953, allocations: 15.98 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.1954, allocations: 19.91 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1954, allocations: 4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1958, allocations: 315.4 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1958, allocations: 7.984 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.1958, allocations: 15.92 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1961, allocations: 191.6 kB / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1961, allocations: 0 / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.454e-06/0.1961, allocations: 0 / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.1961, allocations: 7.938 kB / 0.7871 GB, free: 9.719 MB / 0.6075 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.0004354/0.1965, allocations: 371.4 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1966, allocations: 12.03 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.197, allocations: 68.84 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.1971, allocations: 176.2 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1971, allocations: 384 / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1971, allocations: 384 / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1974, allocations: 89.94 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1974, allocations: 3.938 kB / 0.7878 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1974, allocations: 0 / 0.7878 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1974, allocations: 4 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.1978, allocations: 87.89 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1983, allocations: 308.7 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.1987, allocations: 94.5 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.1989, allocations: 48.86 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1989, allocations: 8 kB / 0.7883 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1989, allocations: 30.56 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1989, allocations: 0 / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006797/0.1996, allocations: 165.5 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1996, allocations: 55.52 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.1997, allocations: 109.9 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1997, allocations: 25.7 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.1998, allocations: 84.14 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1998, allocations: 7.891 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1998, allocations: 13.72 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.1999, allocations: 314.8 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2001, allocations: 47.95 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.2003, allocations: 43.94 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.2007, allocations: 96.77 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2007, allocations: 0 / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000414/0.2011, allocations: 125.5 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2011, allocations: 4.938 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2011, allocations: 0 / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2012, allocations: 4 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2013, allocations: 19.97 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2013, allocations: 0 / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.2014, allocations: 27.91 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2014, allocations: 0 / 0.7894 GB, free: 7.098 MB / 0.6075 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 6.033e-05/0.2015, allocations: 110.4 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.2015, allocations: 4 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2016, allocations: 7.125 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2016, allocations: 3.984 kB / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2016, allocations: 0 / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2016, allocations: 0 / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2017, allocations: 173.6 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2018, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2019, allocations: 27.91 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2019, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2019, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2019, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2019, allocations: 11.86 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.2024, allocations: 219.4 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.2024, allocations: 89 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2025, allocations: 0 / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2026, allocations: 11.98 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2026, allocations: 8.234 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2026, allocations: 0 / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.2027, allocations: 87.28 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2027, allocations: 4.031 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.2029, allocations: 16 kB / 0.7901 GB, free: 6.246 MB / 0.6075 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.0001232/0.2031, allocations: 103.2 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.2035, allocations: 99.84 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2035, allocations: 0 / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.2037, allocations: 52 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.204, allocations: 7.938 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.2045, allocations: 161.5 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2048, allocations: 0.6768 MB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.239e-05/0.2048, allocations: 8 kB / 0.7912 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2049, allocations: 11.44 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2049, allocations: 0 / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.002579/0.2074, allocations: 0.8326 MB / 0.792 GB, free: 4.25 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)