Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001074, allocations: 172.8 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009127, allocations: 82.36 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 9.688 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001471/0.2133, allocations: 1.161 MB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2144, allocations: 0.7809 MB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2145, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2145, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.2146, allocations: 3.938 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.215, allocations: 107.7 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.215, allocations: 23.92 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.2151, allocations: 11.97 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.2152, allocations: 12 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.2152, allocations: 15.91 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2153, allocations: 4 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.2156, allocations: 315.4 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2156, allocations: 0 / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.2157, allocations: 25.7 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.2159, allocations: 139.8 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2159, allocations: 0 / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2159, allocations: 0 / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2159, allocations: 0 / 0.9034 GB, free: 61.25 MB / 0.6042 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.000458/0.2164, allocations: 375.5 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2164, allocations: 12.03 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.2169, allocations: 75.91 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.217, allocations: 174.9 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.217, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.217, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.2173, allocations: 97.62 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2173, allocations: 0 / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2173, allocations: 3.938 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2174, allocations: 4 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.2178, allocations: 115.9 kB / 0.9042 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.2182, allocations: 308.8 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2186, allocations: 122.5 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.2188, allocations: 60.88 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2189, allocations: 0 / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2189, allocations: 38.56 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2189, allocations: 0 / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007107/0.2196, allocations: 209.5 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.2197, allocations: 51.41 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.2197, allocations: 97.86 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2197, allocations: 25.7 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.2198, allocations: 96.06 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2198, allocations: 3.906 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2198, allocations: 0 / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2199, allocations: 310.8 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2201, allocations: 59.98 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2203, allocations: 59.95 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2205, allocations: 52.02 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2205, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004133/0.2209, allocations: 153.5 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2209, allocations: 7.938 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2209, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.221, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2211, allocations: 32 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2211, allocations: 3.953 kB / 0.9058 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2213, allocations: 31.91 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.2213, allocations: 4 kB / 0.9058 GB, free: 58.5 MB / 0.6042 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 6.737e-05/0.2214, allocations: 109.8 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.2214, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.2214, allocations: 7.125 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2214, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2214, allocations: 7.938 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2214, allocations: 8.188 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2216, allocations: 161.7 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2216, allocations: 4 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2217, allocations: 31.97 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2217, allocations: 0 / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2218, allocations: 4 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2218, allocations: 0 / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2218, allocations: 0 / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.2222, allocations: 243.3 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2222, allocations: 89 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2223, allocations: 7.984 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2224, allocations: 24.02 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.2224, allocations: 3.984 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2225, allocations: 4 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.581e-05/0.2225, allocations: 79.28 kB / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2225, allocations: 0 / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002114/0.2227, allocations: 15.95 kB / 0.9066 GB, free: 57.62 MB / 0.6042 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.000151/0.2229, allocations: 115.2 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.2233, allocations: 115.9 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2233, allocations: 0 / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2235, allocations: 67.94 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2238, allocations: 7.938 kB / 0.9069 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.2243, allocations: 198.4 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.2244, allocations: 0.677 MB / 0.9077 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.2245, allocations: 11.42 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2245, allocations: 4 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.002029/0.2265, allocations: 0.8794 MB / 0.9086 GB, free: 55.49 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)