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.001173/0.001173, allocations: 104.2 kB / 16.35 MB, free: 5.879 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.001235/0.001236, allocations: 191 kB / 17.29 MB, free: 5.516 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.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001506/0.001506, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2059, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00184/0.2078, allocations: 0.6292 MB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2097, allocations: 1.486 MB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.2097, allocations: 4 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.2098, allocations: 0 / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.2099, allocations: 7.922 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2103, allocations: 119.5 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.2103, allocations: 23.92 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2104, allocations: 8 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.2104, allocations: 23.84 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.2105, allocations: 19.91 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2105, allocations: 4 kB / 0.7871 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.211, allocations: 315.3 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.2111, allocations: 7.969 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2111, allocations: 11.94 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.2114, allocations: 191.5 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2114, allocations: 4 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2115, allocations: 0 / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2115, allocations: 0 / 0.7876 GB, free: 304 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.3293/0.5408, allocations: 381.3 kB / 0.7879 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5408, allocations: 8.031 kB / 0.7879 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.5412, allocations: 62.62 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5413, allocations: 174 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5414, allocations: 3.469 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5414, allocations: 6.531 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.5417, allocations: 69.58 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5417, allocations: 2.781 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5417, allocations: 7.25 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5417, allocations: 0 / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.542, allocations: 70.44 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.5422, allocations: 163.8 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.5427, allocations: 133.2 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.5429, allocations: 40.88 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5429, allocations: 0.5312 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.5429, allocations: 37.03 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.5429, allocations: 0 / 0.7887 GB, free: 48.43 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.003838/0.5468, allocations: 0.7818 MB / 0.7894 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.5468, allocations: 52.56 kB / 0.7895 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.5469, allocations: 123.3 kB / 0.7896 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5469, allocations: 25.7 kB / 0.7896 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.5469, allocations: 85.11 kB / 0.7897 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.547, allocations: 34 kB / 0.7897 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.5471, allocations: 26.73 kB / 0.7898 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.5471, allocations: 315.5 kB / 0.7901 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.5475, allocations: 104.4 kB / 0.7902 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.5479, allocations: 94.55 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.5487, allocations: 196.5 kB / 0.7904 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5487, allocations: 0 / 0.7904 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008154/0.5495, allocations: 248.6 kB / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5495, allocations: 8.375 kB / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5495, allocations: 0.6875 kB / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5495, allocations: 0 / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.5499, allocations: 57.59 kB / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5499, allocations: 0 / 0.7907 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.5501, allocations: 34.66 kB / 0.7908 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.5501, allocations: 8.625 kB / 0.7908 GB, free: 47.68 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 6.468e-05/0.5502, allocations: 117.5 kB / 0.7909 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.5502, allocations: 10.47 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.5503, allocations: 8.75 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5503, allocations: 2.625 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5503, allocations: 1.125 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5503, allocations: 1.5 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5518, allocations: 0.5981 MB / 0.7915 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5518, allocations: 2.062 kB / 0.7915 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.5521, allocations: 54.94 kB / 0.7916 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5521, allocations: 2.625 kB / 0.7916 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5521, allocations: 4.188 kB / 0.7916 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5521, allocations: 0 / 0.7916 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5521, allocations: 2.625 kB / 0.7916 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.5529, allocations: 351.3 kB / 0.7919 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.553, allocations: 91 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.553, allocations: 1.312 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.5532, allocations: 36.64 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.5533, allocations: 22.62 kB / 0.792 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.5533, allocations: 3.188 kB / 0.792 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.5534, allocations: 87.22 kB / 0.7921 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5534, allocations: 3.5 kB / 0.7921 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000295/0.5537, allocations: 40.42 kB / 0.7922 GB, free: 46.88 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.0001952/0.5539, allocations: 127.8 kB / 0.7923 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000877/0.5547, allocations: 211.3 kB / 0.7925 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5548, allocations: 1.219 kB / 0.7925 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.5552, allocations: 110.9 kB / 0.7926 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5555, allocations: 9.438 kB / 0.7926 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5569, allocations: 395.7 kB / 0.793 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.557, allocations: 0.6846 MB / 0.7937 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.099e-05/0.5571, allocations: 23.53 kB / 0.7937 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.5572, allocations: 20.7 kB / 0.7937 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.5572, allocations: 0 / 0.7937 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.003915/0.5611, allocations: 1.661 MB / 0.7953 GB, free: 45.85 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)