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.0009731/0.0009731, allocations: 107.4 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 187.3 kB / 17.22 MB, free: 5.934 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.223/1.223, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.594/1.594, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001275/0.001275, allocations: 75.89 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1881, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002221/0.1904, allocations: 1.43 MB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1915, allocations: 0.8351 MB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.1915, allocations: 0 / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.1915, allocations: 0 / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.1916, allocations: 7.938 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.192, allocations: 123.5 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.192, allocations: 31.92 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.1921, allocations: 11.92 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.1922, allocations: 19.98 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.1922, allocations: 23.91 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1922, allocations: 0 / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.1927, allocations: 319.4 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.1927, allocations: 7.984 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1927, allocations: 15.92 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.193, allocations: 191.9 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.193, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.193, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.193, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 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.0004505/0.1934, allocations: 379.4 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1935, allocations: 12.03 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.1939, allocations: 68.78 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.194, allocations: 168.3 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.194, allocations: 4.312 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1941, allocations: 384 / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1943, allocations: 89.94 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1943, allocations: 0 / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1944, allocations: 4 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1944, allocations: 0 / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.302/0.4963, allocations: 90.66 kB / 0.7878 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.4968, allocations: 298.9 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.4971, allocations: 96.23 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4973, allocations: 51.88 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.4973, allocations: 3.672 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.4973, allocations: 37.06 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4973, allocations: 1 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0005761/0.4979, allocations: 165.3 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.307e-05/0.4979, allocations: 55.69 kB / 0.7885 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.648e-05/0.4979, allocations: 106.6 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.498, allocations: 25.7 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.498, allocations: 84.08 kB / 0.7887 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.498, allocations: 9.891 kB / 0.7887 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.498, allocations: 13.75 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.4981, allocations: 314.6 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.4983, allocations: 49.22 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4984, allocations: 45.69 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.4987, allocations: 89.44 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4987, allocations: 1.125 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003546/0.4991, allocations: 125.7 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.4991, allocations: 6.031 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.4991, allocations: 4.234 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.4991, allocations: 2.625 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4993, allocations: 23.98 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.4993, allocations: 0 / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.717e-05/0.4994, allocations: 19.38 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4994, allocations: 1 kB / 0.7893 GB, free: 47.96 MB / 0.6544 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 5.256e-05/0.4995, allocations: 112.6 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4995, allocations: 14.84 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.4995, allocations: 3.125 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4995, allocations: 0.6875 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4996, allocations: 3.125 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4996, allocations: 3.797 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4997, allocations: 168.9 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4997, allocations: 4.594 kB / 0.7896 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4998, allocations: 20.94 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4998, allocations: 0 / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4998, allocations: 3.969 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4999, allocations: 5.672 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4999, allocations: 0 / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.5003, allocations: 214 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.5003, allocations: 85.59 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.5003, allocations: 2.625 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.5004, allocations: 23.7 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.5005, allocations: 2.625 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.5005, allocations: 6.234 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.5005, allocations: 77.91 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5005, allocations: 0 / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002294/0.5008, allocations: 13.12 kB / 0.7901 GB, free: 47.35 MB / 0.6544 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.0001537/0.5009, allocations: 111.8 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.5014, allocations: 99.72 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5014, allocations: 0 / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.5016, allocations: 52.97 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.5019, allocations: 11.78 kB / 0.7903 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.5024, allocations: 159.9 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.5026, allocations: 0.6777 MB / 0.7912 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.497e-05/0.5027, allocations: 11.27 kB / 0.7912 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5027, allocations: 10.28 kB / 0.7912 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.5027, allocations: 0 / 0.7912 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002987/0.5057, allocations: 0.8026 MB / 0.792 GB, free: 46.43 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)