Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.792/2.792, allocations: 287.5 MB / 302.4 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 184.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009599/0.00096, allocations: 87.11 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005217, allocations: 14.23 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2282, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008231/0.229, allocations: 367.4 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.2311, allocations: 1.426 MB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.2313, allocations: 0 / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.2313, allocations: 3.938 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.2314, allocations: 8 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.2319, allocations: 91.69 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.232, allocations: 19.92 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.232, allocations: 4 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.2321, allocations: 19.91 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.2322, allocations: 23.92 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.2322, allocations: 0 / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006221/0.2328, allocations: 307.4 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2329, allocations: 8 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2329, allocations: 33.62 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.2332, allocations: 128.1 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2332, allocations: 0 / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2332, allocations: 0 / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2332, allocations: 0 / 0.9807 GB, free: 25.9 MB / 0.6198 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.0005288/0.2338, allocations: 375.2 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2338, allocations: 12.03 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.2344, allocations: 71.83 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2345, allocations: 175 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.2346, allocations: 4 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2346, allocations: 4 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.235, allocations: 85.58 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.235, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2351, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2351, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.2357, allocations: 83.92 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.236, allocations: 173.7 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.2369, allocations: 146.5 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.2372, allocations: 44.95 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2373, allocations: 4 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2373, allocations: 38.5 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 3.787e-06/0.2373, allocations: 3.938 kB / 0.9819 GB, free: 24.54 MB / 0.6198 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.007393/0.2447, allocations: 0.9497 MB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2448, allocations: 55.41 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2449, allocations: 125.6 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.245, allocations: 25.7 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.245, allocations: 84.14 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.2451, allocations: 31.55 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.2451, allocations: 4 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.2452, allocations: 314.8 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/0.2459, allocations: 119.9 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.2467, allocations: 115.9 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.2475, allocations: 111.9 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2475, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001651/0.2492, allocations: 281.4 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2492, allocations: 8 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2492, allocations: 0.75 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2493, allocations: 3.938 kB / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.2498, allocations: 63.94 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2499, allocations: 384 / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.2503, allocations: 55.91 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2503, allocations: 7.984 kB / 0.9842 GB, free: 22.16 MB / 0.6198 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 0.0001013/0.2504, allocations: 113.8 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.2505, allocations: 19.84 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.2505, allocations: 8.375 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.2506, allocations: 7.984 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2506, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2506, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.2533, allocations: 0.656 MB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2534, allocations: 4.062 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.2539, allocations: 67.88 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2539, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.2539, allocations: 15.94 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.254, allocations: 0 / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.254, allocations: 4 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.2556, allocations: 377 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2557, allocations: 89.02 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.2558, allocations: 0 / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.2562, allocations: 51.91 kB / 0.9855 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.2563, allocations: 7.984 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2563, allocations: 11.98 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.2564, allocations: 87.28 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2564, allocations: 4 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004044/0.2568, allocations: 35.98 kB / 0.9857 GB, free: 20.5 MB / 0.6198 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.0002455/0.2571, allocations: 127.2 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.2587, allocations: 251.7 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2587, allocations: 4 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.2595, allocations: 127.9 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2599, allocations: 8.859 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.2626, allocations: 476.3 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2628, allocations: 0.6861 MB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.263, allocations: 33.66 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2631, allocations: 19.42 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2631, allocations: 0 / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.00538/0.2685, allocations: 1.551 MB / 0.9889 GB, free: 17.17 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)