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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001416/0.001416, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.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.839/1.839, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005362/0.0005362, allocations: 21.08 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2687, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009191/0.2697, allocations: 363.4 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2715, allocations: 1.422 MB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.2716, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.2716, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.2717, allocations: 11.94 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.272, allocations: 95.73 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.2721, allocations: 19.92 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.2722, allocations: 4 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.2722, allocations: 15.92 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.2723, allocations: 15.92 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2723, allocations: 0 / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.2728, allocations: 315.3 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2728, allocations: 7.984 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.2728, allocations: 33.64 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.2731, allocations: 132.1 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.2731, allocations: 0 / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2731, allocations: 3.938 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2731, allocations: 0 / 0.7897 GB, free: 9.48 MB / 0.6075 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.0005046/0.2736, allocations: 367.2 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2736, allocations: 12.03 kB / 0.79 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.274, allocations: 75.83 kB / 0.7901 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2742, allocations: 175 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2742, allocations: 8 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.2742, allocations: 0 / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.2745, allocations: 77.64 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2745, allocations: 8 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2745, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2745, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.2749, allocations: 83.86 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.2751, allocations: 173.7 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2756, allocations: 146.4 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.2757, allocations: 48.95 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2758, allocations: 0 / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2758, allocations: 30.56 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 3.657e-06/0.2758, allocations: 11.98 kB / 0.7908 GB, free: 8.125 MB / 0.6075 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.003737/0.2796, allocations: 0.9602 MB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2796, allocations: 59.41 kB / 0.7918 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2797, allocations: 113.8 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2798, allocations: 29.64 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2798, allocations: 84.14 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.2799, allocations: 31.55 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.2799, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.28, allocations: 322.8 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.2804, allocations: 115.9 kB / 0.7925 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2808, allocations: 123.8 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.2811, allocations: 115.9 kB / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2812, allocations: 0 / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000827/0.282, allocations: 277.4 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.282, allocations: 12.38 kB / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.282, allocations: 0 / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.282, allocations: 0 / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.2824, allocations: 63.94 kB / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2824, allocations: 3.938 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2826, allocations: 47.95 kB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2826, allocations: 7.984 kB / 0.7931 GB, free: 5.734 MB / 0.6075 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 9.044e-05/0.2827, allocations: 114.5 kB / 0.7932 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.2827, allocations: 7.906 kB / 0.7932 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.2828, allocations: 12.38 kB / 0.7932 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2828, allocations: 4 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2828, allocations: 0.75 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2828, allocations: 7.984 kB / 0.7932 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2844, allocations: 0.6559 MB / 0.7939 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2845, allocations: 0 / 0.7939 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.2847, allocations: 64 kB / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2847, allocations: 4 kB / 0.7939 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2847, allocations: 7.984 kB / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2848, allocations: 3.953 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2848, allocations: 8 kB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.2856, allocations: 377 kB / 0.7943 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.2857, allocations: 85.02 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2857, allocations: 0 / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2859, allocations: 55.89 kB / 0.7945 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.286, allocations: 15.88 kB / 0.7945 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.286, allocations: 7.984 kB / 0.7945 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.2861, allocations: 87.28 kB / 0.7946 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2861, allocations: 0 / 0.7946 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003025/0.2864, allocations: 39.98 kB / 0.7946 GB, free: 4.082 MB / 0.6075 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.0002362/0.2866, allocations: 131.2 kB / 0.7947 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.2875, allocations: 247.7 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2875, allocations: 0 / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.2879, allocations: 128 kB / 0.7951 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2881, allocations: 11.94 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2896, allocations: 476.6 kB / 0.7955 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2898, allocations: 0.6848 MB / 0.7962 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.29, allocations: 25.38 kB / 0.7962 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.29, allocations: 27.42 kB / 0.7963 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2901, allocations: 0 / 0.7963 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.004093/0.2942, allocations: 1.543 MB / 0.7978 GB, free: 0.7656 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: