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.001456/0.001456, allocations: 116.9 kB / 16.38 MB, free: 6.012 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.001722/0.001722, allocations: 190.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.746/1.746, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.00222/0.00222, allocations: 68.12 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2947, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001926/0.2967, allocations: 0.6443 MB / 0.7854 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2986, allocations: 1.494 MB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.2986, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.2986, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.2987, allocations: 7.938 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.2991, allocations: 119.5 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.2992, allocations: 23.92 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.2993, allocations: 7.969 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.2993, allocations: 19.88 kB / 0.7871 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.2994, allocations: 19.91 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2994, allocations: 8 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.2999, allocations: 315.4 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.2999, allocations: 3.984 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.2999, allocations: 15.88 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.3002, allocations: 187.6 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3002, allocations: 3.984 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3002, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3002, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 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.5325/0.8328, allocations: 375.4 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8329, allocations: 16.88 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.8333, allocations: 57.42 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.8334, allocations: 174 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.8334, allocations: 5.609 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.8335, allocations: 6.469 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.8338, allocations: 68.53 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.8338, allocations: 2.875 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8338, allocations: 9.031 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.8338, allocations: 0 / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.8342, allocations: 75.8 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.8343, allocations: 167.8 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.8348, allocations: 124.1 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.835, allocations: 43.59 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.835, allocations: 0.9375 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.8351, allocations: 36.12 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.8351, allocations: 0 / 0.7887 GB, free: 48.39 MB / 0.6544 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.003841/0.8389, allocations: 0.7837 MB / 0.7895 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.839, allocations: 55.72 kB / 0.7895 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.8391, allocations: 114.2 kB / 0.7896 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8391, allocations: 28.98 kB / 0.7896 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.8391, allocations: 87.2 kB / 0.7897 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.8392, allocations: 28.8 kB / 0.7898 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.8392, allocations: 31.14 kB / 0.7898 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.8393, allocations: 318.2 kB / 0.7901 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.8397, allocations: 94.8 kB / 0.7902 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.8401, allocations: 96.8 kB / 0.7903 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.8409, allocations: 196.2 kB / 0.7905 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8409, allocations: 0 / 0.7905 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008743/0.8418, allocations: 250.2 kB / 0.7907 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8418, allocations: 6.031 kB / 0.7907 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.8418, allocations: 4.062 kB / 0.7907 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8419, allocations: 4 kB / 0.7907 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.8422, allocations: 49.67 kB / 0.7908 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.8422, allocations: 2.625 kB / 0.7908 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.8424, allocations: 37.23 kB / 0.7908 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.8425, allocations: 9.516 kB / 0.7908 GB, free: 47.63 MB / 0.6544 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 0.0001088/0.8426, allocations: 111.4 kB / 0.7909 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.8426, allocations: 10.47 kB / 0.7909 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.8427, allocations: 18.53 kB / 0.7909 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8427, allocations: 2.625 kB / 0.7909 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8427, allocations: 0 / 0.7909 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8427, allocations: 3.234 kB / 0.7909 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.8443, allocations: 0.5964 MB / 0.7915 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8444, allocations: 0 / 0.7915 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.8446, allocations: 53.95 kB / 0.7916 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8446, allocations: 0 / 0.7916 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.8447, allocations: 12.91 kB / 0.7916 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8447, allocations: 5.812 kB / 0.7916 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8447, allocations: 3.5 kB / 0.7916 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.8456, allocations: 339.2 kB / 0.7919 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.8456, allocations: 88.92 kB / 0.792 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.8456, allocations: 6.75 kB / 0.792 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.8459, allocations: 34.62 kB / 0.792 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.8459, allocations: 14.64 kB / 0.7921 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.846, allocations: 6.641 kB / 0.7921 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.846, allocations: 92.27 kB / 0.7922 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.846, allocations: 0 / 0.7922 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002916/0.8463, allocations: 34.53 kB / 0.7922 GB, free: 46.83 MB / 0.6544 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.0002352/0.8466, allocations: 131.4 kB / 0.7923 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008877/0.8475, allocations: 211.1 kB / 0.7925 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8475, allocations: 0 / 0.7925 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.8479, allocations: 112.5 kB / 0.7926 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.8481, allocations: 8.406 kB / 0.7926 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8497, allocations: 429 kB / 0.793 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.8499, allocations: 0.6862 MB / 0.7937 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.85, allocations: 20.25 kB / 0.7937 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.85, allocations: 0 / 0.7937 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.00362/0.8536, allocations: 1.432 MB / 0.7951 GB, free: 45.78 MB / 0.6544 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)