Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001488/0.001488, allocations: 189 kB / 377.1 MB, free: 1.5 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.701/1.701, allocations: 205.4 MB / 0.6367 GB, free: 8.477 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008938, allocations: 90.38 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004667, allocations: 19.98 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.29, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6346/0.9246, allocations: 139.7 MB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.9249, allocations: 82.89 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.9365, allocations: 4.151 MB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9365, allocations: 0 / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.9366, allocations: 0 / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004094/0.937, allocations: 390.7 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.937, allocations: 8.031 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.9373, allocations: 56.12 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.9374, allocations: 182.3 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.9375, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.9375, allocations: 0.75 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.9377, allocations: 82.97 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9378, allocations: 4 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.9378, allocations: 0.5625 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.9378, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.9381, allocations: 91.98 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.9383, allocations: 173.4 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.9388, allocations: 140.9 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.9388, allocations: 3.984 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.9388, allocations: 39.67 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.9388, allocations: 0 / 1.13 GB, free: 30.69 MB / 0.7292 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004878/0.9437, allocations: 1.017 MB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.9438, allocations: 58.92 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.9438, allocations: 105 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.9439, allocations: 29.22 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.9439, allocations: 88.14 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.9439, allocations: 28.22 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.944, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.944, allocations: 322.4 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.9444, allocations: 127.4 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.9448, allocations: 135.3 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.9452, allocations: 127.8 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.9452, allocations: 0 / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008592/0.9461, allocations: 315.1 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9461, allocations: 4 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.9461, allocations: 4 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9462, allocations: 4.562 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.9466, allocations: 68.77 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.9466, allocations: 0 / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.9469, allocations: 49.69 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.9469, allocations: 3.969 kB / 1.132 GB, free: 28.63 MB / 0.7292 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 (9): * Single equations (assignments): 9 * 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 8.16e-05/0.947, allocations: 118.7 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.947, allocations: 7.906 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.9471, allocations: 15.78 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9471, allocations: 0 / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.9471, allocations: 4 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9471, allocations: 0 / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.9488, allocations: 0.6921 MB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.9489, allocations: 4 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.9492, allocations: 66.52 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.9492, allocations: 1.734 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.9492, allocations: 16.02 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9492, allocations: 0 / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9492, allocations: 0.75 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.9501, allocations: 427.5 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.9502, allocations: 88.58 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.9502, allocations: 8.797 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.9505, allocations: 45.33 kB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.9506, allocations: 14.41 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.9506, allocations: 8.766 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.9506, allocations: 90.45 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9506, allocations: 0 / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003161/0.951, allocations: 41.3 kB / 1.134 GB, free: 27.13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002475/0.9512, allocations: 130.2 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008934/0.9521, allocations: 275.8 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9521, allocations: 0 / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.9525, allocations: 138.6 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.9527, allocations: 8 kB / 1.135 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.9543, allocations: 496.5 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.9545, allocations: 0.692 MB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.9547, allocations: 28.05 kB / 1.136 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.9548, allocations: 27.67 kB / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.9548, allocations: 0 / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.005335/0.9601, allocations: 1.786 MB / 1.138 GB, free: 24.56 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)