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.423/1.423, allocations: 252 MB / 267.6 MB, free: 10.95 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.001024/0.001024, allocations: 174.5 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007207/0.0007207, allocations: 110.3 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 14.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007099/0.2167, allocations: 374.2 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2183, allocations: 1.437 MB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.2184, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.2184, allocations: 3.938 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.2185, allocations: 0 / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.2189, allocations: 99.69 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.219, allocations: 19.92 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.219, allocations: 4 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.2191, allocations: 19.91 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.2191, allocations: 15.92 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2192, allocations: 0 / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.2195, allocations: 307.4 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.2196, allocations: 7.984 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.2196, allocations: 33.64 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2198, allocations: 123.9 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2198, allocations: 4 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2198, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2198, allocations: 0 / 0.9032 GB, free: 61.46 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.0004141/0.2202, allocations: 367.4 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2203, allocations: 12.03 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.2207, allocations: 75.92 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2208, allocations: 178.9 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2208, allocations: 4 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2209, allocations: 7.844 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.2211, allocations: 89.52 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2212, allocations: 0 / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2212, allocations: 7.984 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2212, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.2215, allocations: 79.92 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2217, allocations: 169.7 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2222, allocations: 146.5 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2224, allocations: 48.95 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2224, allocations: 0 / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2225, allocations: 42.5 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2225, allocations: 0 / 0.9044 GB, free: 60.1 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.004056/0.2265, allocations: 0.9459 MB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2266, allocations: 55.41 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.2267, allocations: 117.7 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2267, allocations: 33.7 kB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.2267, allocations: 80.14 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.2267, allocations: 31.55 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.2268, allocations: 0 / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.2268, allocations: 314.8 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2272, allocations: 119.9 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.2276, allocations: 119.9 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.228, allocations: 115.9 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.228, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008389/0.2288, allocations: 285.5 kB / 0.9065 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2289, allocations: 12 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2289, allocations: 0.75 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2289, allocations: 0 / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.2292, allocations: 63.94 kB / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2292, allocations: 0 / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.2295, allocations: 51.91 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.2295, allocations: 3.984 kB / 0.9066 GB, free: 57.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.2296, allocations: 117.8 kB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.2296, allocations: 8 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.2296, allocations: 12.38 kB / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2296, allocations: 0 / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2297, allocations: 11.94 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2297, allocations: 0 / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.2312, allocations: 0.6598 MB / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2312, allocations: 0 / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2315, allocations: 67.94 kB / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2315, allocations: 0 / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2315, allocations: 11.94 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2315, allocations: 0 / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2315, allocations: 4 kB / 0.9075 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.2324, allocations: 392.9 kB / 0.9079 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.2324, allocations: 81.11 kB / 0.908 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.2324, allocations: 0 / 0.908 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.2327, allocations: 55.91 kB / 0.908 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.2327, allocations: 7.984 kB / 0.908 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2328, allocations: 7.984 kB / 0.908 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.2328, allocations: 87.28 kB / 0.9081 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2328, allocations: 0 / 0.9081 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002851/0.2331, allocations: 43.98 kB / 0.9082 GB, free: 56.06 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 (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.0002374/0.2334, allocations: 124.5 kB / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.2342, allocations: 255.8 kB / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2342, allocations: 0 / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.2346, allocations: 128 kB / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2349, allocations: 8.688 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2363, allocations: 0.4979 MB / 0.9091 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2365, allocations: 0.6887 MB / 0.9098 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.2366, allocations: 23.41 kB / 0.9098 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2366, allocations: 0 / 0.9098 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.002854/0.2394, allocations: 1.438 MB / 0.9112 GB, free: 52.84 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)