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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 293 MB / 309 MB, free: 4.766 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.0009597/0.0009596, allocations: 172.2 kB / 378.7 MB, free: 1.023 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.508/1.508, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008367/0.0008365, allocations: 91.36 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003595, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5893/0.8081, allocations: 139.8 MB / 1.127 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.8083, allocations: 83.47 kB / 1.127 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.8195, allocations: 4.164 MB / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8196, allocations: 0 / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8196, allocations: 0 / 1.131 GB, free: 31.06 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.0004102/0.82, allocations: 398.8 kB / 1.132 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8201, allocations: 12.03 kB / 1.132 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.8203, allocations: 57.34 kB / 1.132 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8205, allocations: 172.2 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8205, allocations: 5.812 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.8205, allocations: 4.375 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.8207, allocations: 79.14 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.8208, allocations: 192 / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.8208, allocations: 3.938 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8208, allocations: 1.969 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.8211, allocations: 88.8 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.8213, allocations: 169.4 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.8217, allocations: 146.1 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.8219, allocations: 51.62 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.8219, allocations: 4 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.8219, allocations: 31 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.822, allocations: 4 kB / 1.132 GB, free: 29.81 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.004329/0.8263, allocations: 1.028 MB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.8263, allocations: 56.34 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.8264, allocations: 113.3 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8265, allocations: 25.7 kB / 1.134 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.8265, allocations: 87.52 kB / 1.134 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.8265, allocations: 27.55 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.8265, allocations: 4 kB / 1.134 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.8266, allocations: 318.3 kB / 1.134 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.827, allocations: 126.7 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.8274, allocations: 132.3 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.8281, allocations: 266 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.8281, allocations: 0 / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008245/0.8289, allocations: 314.1 kB / 1.135 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.829, allocations: 4 kB / 1.135 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.829, allocations: 3.516 kB / 1.135 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.829, allocations: 4 kB / 1.135 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.8294, allocations: 69.19 kB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8294, allocations: 3.938 kB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.8296, allocations: 50.91 kB / 1.135 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.8297, allocations: 10.98 kB / 1.135 GB, free: 27.62 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 7.956e-05/0.8297, allocations: 111.1 kB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.8298, allocations: 11.84 kB / 1.135 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.8298, allocations: 12.38 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.8298, allocations: 0 / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8298, allocations: 0 / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8298, allocations: 4.594 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.8315, allocations: 0.702 MB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8315, allocations: 0 / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.8318, allocations: 68.5 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8318, allocations: 0 / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.8318, allocations: 8.062 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8318, allocations: 0 / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8319, allocations: 4 kB / 1.136 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.8327, allocations: 402 kB / 1.136 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.8328, allocations: 81.62 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.8328, allocations: 14.31 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.8331, allocations: 43.48 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.8331, allocations: 22.58 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.8331, allocations: 7.984 kB / 1.136 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.8332, allocations: 91.38 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8332, allocations: 0 / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002956/0.8335, allocations: 37.02 kB / 1.136 GB, free: 26.16 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.0001909/0.8337, allocations: 121.9 kB / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.8346, allocations: 278.3 kB / 1.137 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8346, allocations: 0 / 1.137 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.835, allocations: 141.5 kB / 1.137 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.8353, allocations: 11.7 kB / 1.137 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.837, allocations: 0.4915 MB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.8371, allocations: 0.6862 MB / 1.138 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.8373, allocations: 28.98 kB / 1.138 GB, free: 24.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.8374, allocations: 30.41 kB / 1.138 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.8374, allocations: 0 / 1.138 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.004501/0.8419, allocations: 1.791 MB / 1.14 GB, free: 23.58 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)