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.0009729/0.000973, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001087/0.001087, allocations: 177.3 kB / 15.94 MB, free: 228 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.651/1.651, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.829/1.829, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005281/0.0005282, allocations: 16.31 kB / 0.6735 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007059/0.2551, allocations: 365.8 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2567, allocations: 1.443 MB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.2567, allocations: 0 / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.2567, allocations: 0 / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.2568, allocations: 3.984 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2571, allocations: 103.6 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.2572, allocations: 7.984 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.2572, allocations: 4 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.2573, allocations: 19.91 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.2573, allocations: 19.92 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2574, allocations: 0 / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.2578, allocations: 303.5 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2578, allocations: 11.92 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.2578, allocations: 25.7 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.258, allocations: 140.1 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2581, allocations: 4 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2581, allocations: 0 / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2581, allocations: 3.938 kB / 0.7895 GB, free: 9.508 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.0004677/0.2585, allocations: 374 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2586, allocations: 12.03 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.259, allocations: 71.83 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2591, allocations: 175 kB / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2592, allocations: 8 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2592, allocations: 0 / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2595, allocations: 77.58 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2595, allocations: 4 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2595, allocations: 8 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2595, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.2599, allocations: 83.91 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.26, allocations: 169.7 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.2606, allocations: 142.5 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2606, allocations: 7.922 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2606, allocations: 34.56 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2607, allocations: 0 / 0.7906 GB, free: 8.207 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.004085/0.2647, allocations: 0.9498 MB / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2648, allocations: 59.41 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.2649, allocations: 121.7 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.2649, allocations: 25.7 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.265, allocations: 84.14 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.265, allocations: 27.56 kB / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.265, allocations: 0 / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2651, allocations: 326.8 kB / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.2656, allocations: 115.9 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.266, allocations: 119.9 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.2664, allocations: 107.9 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2664, allocations: 3.984 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009056/0.2673, allocations: 285.4 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2674, allocations: 11.94 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2674, allocations: 0 / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2674, allocations: 0 / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.2677, allocations: 63.94 kB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2677, allocations: 0 / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.268, allocations: 47.95 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.268, allocations: 0 / 0.7929 GB, free: 5.832 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.324e-05/0.2681, allocations: 125.7 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.2681, allocations: 7.906 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.2682, allocations: 8.375 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2682, allocations: 0 / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2682, allocations: 8.375 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.2682, allocations: 0.75 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.2698, allocations: 0.6599 MB / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2699, allocations: 0 / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.2701, allocations: 71.88 kB / 0.7937 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2702, allocations: 0 / 0.7937 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2702, allocations: 8 kB / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2702, allocations: 12.33 kB / 0.7937 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2702, allocations: 0 / 0.7937 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.2711, allocations: 400.4 kB / 0.7941 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2712, allocations: 88.97 kB / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.2712, allocations: 4 kB / 0.7942 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.2715, allocations: 47.95 kB / 0.7943 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.2715, allocations: 7.984 kB / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2716, allocations: 11.97 kB / 0.7943 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.2716, allocations: 91.27 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2716, allocations: 0 / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002975/0.2719, allocations: 47.98 kB / 0.7944 GB, free: 4.125 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.0002116/0.2721, allocations: 123.2 kB / 0.7945 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.2731, allocations: 255.7 kB / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2731, allocations: 0 / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.2735, allocations: 124 kB / 0.7949 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.2737, allocations: 8 kB / 0.7949 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2752, allocations: 488.2 kB / 0.7954 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2755, allocations: 0.6926 MB / 0.796 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.2756, allocations: 24.89 kB / 0.7961 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.2756, allocations: 19.42 kB / 0.7961 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2756, allocations: 0 / 0.7961 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.003778/0.2794, allocations: 1.539 MB / 0.7976 GB, free: 0.8125 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: