Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 187.8 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009092, allocations: 92 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004491, allocations: 12.88 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009368/0.2681, allocations: 378.1 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2702, allocations: 1.495 MB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.2702, allocations: 0 / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.2703, allocations: 4 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2704, allocations: 11.92 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.2709, allocations: 87.77 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.271, allocations: 27.91 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.2711, allocations: 4 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.2712, allocations: 15.92 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.2712, allocations: 19.92 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2713, allocations: 0 / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.2718, allocations: 323.3 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.2718, allocations: 15.92 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.2719, allocations: 29.64 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2721, allocations: 127.9 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2722, allocations: 0 / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2722, allocations: 0 / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.2722, allocations: 0 / 0.9039 GB, free: 60.8 MB / 0.6042 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.0005132/0.2727, allocations: 383.6 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2728, allocations: 11.97 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.2731, allocations: 72.86 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2733, allocations: 176.2 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2733, allocations: 384 / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.2734, allocations: 4.312 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.2736, allocations: 89.95 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2737, allocations: 0 / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2737, allocations: 4 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2737, allocations: 0 / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.274, allocations: 91.91 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2742, allocations: 165.7 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.2748, allocations: 146.4 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2749, allocations: 52.88 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.275, allocations: 4 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.275, allocations: 34.5 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.275, allocations: 0 / 0.9051 GB, free: 59.43 MB / 0.6042 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.004071/0.2791, allocations: 0.9536 MB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2791, allocations: 51.41 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.2792, allocations: 109.8 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2792, allocations: 29.7 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.2793, allocations: 84.14 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.2793, allocations: 35.55 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.2793, allocations: 0 / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.2794, allocations: 318.8 kB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.2799, allocations: 115.9 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.2803, allocations: 115.9 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.2811, allocations: 240.6 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2811, allocations: 0 / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008399/0.2819, allocations: 285.6 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.282, allocations: 4.094 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.282, allocations: 7.922 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.282, allocations: 4 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.2823, allocations: 67.88 kB / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2824, allocations: 0 / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.2826, allocations: 47.95 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2826, allocations: 7.938 kB / 0.9075 GB, free: 56.92 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.827e-05/0.2827, allocations: 117.8 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2827, allocations: 15.88 kB / 0.9076 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.2828, allocations: 12.38 kB / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2828, allocations: 0 / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2828, allocations: 0 / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2828, allocations: 0 / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2845, allocations: 0.6677 MB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2845, allocations: 0.75 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2848, allocations: 68 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2848, allocations: 0 / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2848, allocations: 8 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2848, allocations: 4 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2848, allocations: 0 / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.2857, allocations: 392.8 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.2857, allocations: 85.02 kB / 0.9088 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2858, allocations: 0 / 0.9088 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.286, allocations: 47.95 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.2861, allocations: 15.92 kB / 0.9089 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2861, allocations: 4 kB / 0.9089 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.2861, allocations: 91.27 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2861, allocations: 3.938 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000282/0.2864, allocations: 35.98 kB / 0.909 GB, free: 55.26 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.2867, allocations: 135.2 kB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008468/0.2875, allocations: 247.7 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2875, allocations: 0 / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.2879, allocations: 132.2 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2882, allocations: 8.984 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2897, allocations: 0.4988 MB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2899, allocations: 0.6809 MB / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.29, allocations: 23.42 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.29, allocations: 0 / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.003226/0.2932, allocations: 1.448 MB / 0.9121 GB, free: 52.03 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)