Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.00115/0.00115, allocations: 193 kB / 371.9 MB, free: 10.29 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.422/1.422, allocations: 205.4 MB / 0.6306 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 101.5 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 13.28 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2652, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007928/0.266, allocations: 362 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2676, allocations: 1.435 MB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.2676, allocations: 4 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.2677, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.2677, allocations: 11.92 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.2681, allocations: 91.69 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.2682, allocations: 19.97 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.2682, allocations: 4 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.2683, allocations: 11.92 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.2683, allocations: 23.91 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2684, allocations: 0 / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.2687, allocations: 307.5 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2687, allocations: 11.97 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.2688, allocations: 25.7 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.269, allocations: 140.1 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.269, allocations: 0 / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.269, allocations: 0 / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.269, allocations: 4 kB / 0.9818 GB, free: 25.23 MB / 0.6198 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.0004573/0.2694, allocations: 375.2 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2695, allocations: 12.03 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.2699, allocations: 71.83 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.27, allocations: 171 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.27, allocations: 4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2701, allocations: 8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.2703, allocations: 73.64 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2703, allocations: 4 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2703, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2703, allocations: 4 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.2707, allocations: 83.91 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.2708, allocations: 173.7 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.2713, allocations: 146.4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2714, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2714, allocations: 34.56 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.2714, allocations: 4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 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.003926/0.2753, allocations: 0.9503 MB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2754, allocations: 59.41 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.2755, allocations: 117.8 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2755, allocations: 29.69 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.2755, allocations: 84.14 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.2755, allocations: 31.55 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2756, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.2756, allocations: 326.8 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.2761, allocations: 115.9 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2764, allocations: 119.9 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2768, allocations: 107.9 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2768, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008109/0.2776, allocations: 281.4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2777, allocations: 8 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2777, allocations: 7.938 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2777, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.278, allocations: 67.88 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.278, allocations: 0 / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.2782, allocations: 51.95 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2783, allocations: 4 kB / 0.9852 GB, free: 21.54 MB / 0.6198 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.775e-05/0.2783, allocations: 117.8 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2784, allocations: 11.89 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2784, allocations: 8.375 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2784, allocations: 4 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2784, allocations: 0 / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2784, allocations: 384 / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.2799, allocations: 0.6599 MB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.28, allocations: 0 / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.2802, allocations: 67.94 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2802, allocations: 3.938 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2803, allocations: 8 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2803, allocations: 7.938 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2803, allocations: 0 / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.2811, allocations: 404.4 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.2811, allocations: 88.97 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2812, allocations: 0 / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.2814, allocations: 51.95 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2814, allocations: 7.984 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2815, allocations: 7.984 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.2815, allocations: 87.67 kB / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2815, allocations: 0 / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002792/0.2818, allocations: 39.98 kB / 0.9867 GB, free: 19.86 MB / 0.6198 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.0001902/0.282, allocations: 135.2 kB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.2828, allocations: 243.8 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2828, allocations: 7.875 kB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.2832, allocations: 124 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2834, allocations: 8 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2849, allocations: 488.5 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.285, allocations: 0.6902 MB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2852, allocations: 28.88 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.2852, allocations: 19.42 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2852, allocations: 0 / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.003528/0.2888, allocations: 1.554 MB / 0.9899 GB, free: 16.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)