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.61/1.61, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001358/0.001358, allocations: 180.1 kB / 371.6 MB, free: 3.41 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.964/1.964, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000895/0.0008947, allocations: 92.59 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.235e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9728/1.272, allocations: 139.6 MB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.272, allocations: 80.44 kB / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01103/1.283, allocations: 4.119 MB / 1.12 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/1.283, allocations: 0 / 1.12 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.283, allocations: 0 / 1.12 GB, free: 41.69 MB / 0.7448 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.0003209/1.283, allocations: 378.7 kB / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.283, allocations: 12.03 kB / 1.121 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/1.284, allocations: 61.78 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.284, allocations: 174.4 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.284, allocations: 1.062 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/1.284, allocations: 7.281 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/1.284, allocations: 48.19 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.284, allocations: 0 / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.284, allocations: 3.5 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.284, allocations: 0 / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/1.284, allocations: 23.47 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/1.284, allocations: 174.4 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/1.284, allocations: 56.92 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/1.284, allocations: 15.98 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/1.284, allocations: 0.6562 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/1.284, allocations: 38.31 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/1.284, allocations: 0 / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.002249/1.287, allocations: 440.4 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.287, allocations: 59.34 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/1.287, allocations: 105.7 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/1.287, allocations: 29.02 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/1.287, allocations: 83.27 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.287, allocations: 34.12 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.287, allocations: 0 / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/1.287, allocations: 325.4 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/1.287, allocations: 36.95 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/1.287, allocations: 37.03 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/1.287, allocations: 37.47 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/1.287, allocations: 0 / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000232/1.287, allocations: 131.7 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.287, allocations: 9.406 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.287, allocations: 4 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.287, allocations: 0 / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/1.288, allocations: 69.64 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.288, allocations: 0 / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/1.288, allocations: 57.69 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/1.288, allocations: 4.5 kB / 1.123 GB, free: 39.46 MB / 0.7448 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 () * 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 5.944e-05/1.288, allocations: 116.2 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/1.288, allocations: 7.906 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/1.288, allocations: 7.812 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.288, allocations: 0 / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.288, allocations: 0.625 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.288, allocations: 3.281 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/1.289, allocations: 0.5159 MB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.289, allocations: 4 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/1.29, allocations: 75.91 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.29, allocations: 0 / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.29, allocations: 10.7 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.29, allocations: 0.75 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.29, allocations: 1.5 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/1.29, allocations: 250.2 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/1.29, allocations: 81.02 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/1.29, allocations: 11.47 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.29, allocations: 45.7 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.29, allocations: 10.7 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/1.29, allocations: 7.984 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.181e-05/1.29, allocations: 92.16 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 0 / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002595/1.291, allocations: 35.25 kB / 1.124 GB, free: 38.32 MB / 0.7448 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 () * 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.0001858/1.291, allocations: 138 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001978/1.291, allocations: 94.27 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.291, allocations: 0.5625 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/1.291, allocations: 48.94 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/1.291, allocations: 4 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.293, allocations: 360.6 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/1.293, allocations: 0.6923 MB / 1.125 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000139/1.293, allocations: 25.03 kB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/1.293, allocations: 29.53 kB / 1.125 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.293, allocations: 0 / 1.125 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.003772/1.297, allocations: 1.766 MB / 1.127 GB, free: 36.12 MB / 0.7448 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)