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.0007739/0.000774, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0008504/0.0008506, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.473/1.473, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.704/1.704, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005417/0.0005422, allocations: 16.97 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2347, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001088/0.2359, allocations: 375.3 kB / 0.7882 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2381, allocations: 1.495 MB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.2382, allocations: 0 / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.2382, allocations: 0 / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.2383, allocations: 7.938 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2388, allocations: 91.7 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.2388, allocations: 27.92 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.2389, allocations: 7.984 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.2389, allocations: 7.938 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.239, allocations: 31.78 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2391, allocations: 0 / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.2396, allocations: 311.4 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2396, allocations: 7.984 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.2396, allocations: 41.62 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.24, allocations: 195.8 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.24, allocations: 0 / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.245e-06/0.24, allocations: 0 / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.24, allocations: 0 / 0.7904 GB, free: 8.938 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.0004895/0.2405, allocations: 367.4 kB / 0.7908 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2405, allocations: 12.03 kB / 0.7908 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.241, allocations: 80.77 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2411, allocations: 168.3 kB / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2411, allocations: 4.375 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.2412, allocations: 4.375 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2414, allocations: 81.95 kB / 0.7911 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2415, allocations: 4 kB / 0.7911 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2415, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2415, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.2419, allocations: 83.91 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.2421, allocations: 177.6 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.2426, allocations: 146.4 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2428, allocations: 52.94 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2429, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2429, allocations: 42.5 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.2429, allocations: 3.984 kB / 0.7916 GB, free: 7.574 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.004343/0.2472, allocations: 0.9536 MB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2473, allocations: 51.41 kB / 0.7926 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.2474, allocations: 113.8 kB / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2474, allocations: 29.64 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2475, allocations: 88.14 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2475, allocations: 35.53 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.2476, allocations: 9.812 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.2477, allocations: 322.8 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.2481, allocations: 119.9 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.2486, allocations: 119.9 kB / 0.7934 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.2494, allocations: 240.6 kB / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2494, allocations: 0 / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009611/0.2504, allocations: 285.3 kB / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2504, allocations: 8 kB / 0.7939 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2505, allocations: 0 / 0.7939 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2505, allocations: 4 kB / 0.7939 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.2508, allocations: 59.94 kB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2508, allocations: 4 kB / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.2511, allocations: 51.95 kB / 0.794 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2511, allocations: 3.984 kB / 0.794 GB, free: 5.043 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.2512, allocations: 117.8 kB / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2512, allocations: 4 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.2513, allocations: 9.125 kB / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2513, allocations: 0 / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2513, allocations: 4 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2513, allocations: 0 / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2531, allocations: 0.6637 MB / 0.7948 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2531, allocations: 0 / 0.7948 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.2534, allocations: 68.28 kB / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2534, allocations: 0 / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2534, allocations: 11.98 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2534, allocations: 3.938 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2534, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2544, allocations: 384.8 kB / 0.7952 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.2545, allocations: 81.11 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.2545, allocations: 4 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.2548, allocations: 51.89 kB / 0.7953 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2549, allocations: 19.86 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2549, allocations: 7.984 kB / 0.7954 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.2549, allocations: 87.28 kB / 0.7954 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.255, allocations: 0 / 0.7954 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003092/0.2553, allocations: 39.98 kB / 0.7955 GB, free: 3.391 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 (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.0002566/0.2555, allocations: 131.2 kB / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009569/0.2565, allocations: 251.7 kB / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2565, allocations: 0 / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.257, allocations: 132 kB / 0.796 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2572, allocations: 4 kB / 0.796 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2588, allocations: 484 kB / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2591, allocations: 0.6857 MB / 0.7971 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.2592, allocations: 25.72 kB / 0.7971 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.2593, allocations: 19.42 kB / 0.7972 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2593, allocations: 3.938 kB / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.003978/0.2633, allocations: 1.579 MB / 0.7987 GB, free: 36 kB / 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: