Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009025/0.009025, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001867/0.001867, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 282.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9899/0.9899, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 103.8 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.18, allocations: 86.97 MB / 0.7664 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001726/0.1818, allocations: 0.6305 MB / 0.767 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1836, allocations: 1.446 MB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1836, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.1837, allocations: 3.938 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.1838, allocations: 11.88 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.1842, allocations: 127.4 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.1842, allocations: 19.98 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1843, allocations: 7.969 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.1843, allocations: 15.94 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.1844, allocations: 23.84 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1844, allocations: 4 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.1849, allocations: 311.4 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1849, allocations: 7.984 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1849, allocations: 15.88 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1852, allocations: 191.6 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1852, allocations: 0 / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1852, allocations: 0 / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1852, allocations: 0 / 0.7692 GB, free: 5.535 MB / 0.5606 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.0004807/0.1857, allocations: 379.3 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1857, allocations: 8.031 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.1861, allocations: 64.86 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1863, allocations: 180.2 kB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1863, allocations: 4.375 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1863, allocations: 384 / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1866, allocations: 81.95 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1866, allocations: 0 / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1866, allocations: 0 / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1867, allocations: 3.984 kB / 0.7699 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.187, allocations: 71.92 kB / 0.7699 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1872, allocations: 169.7 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1877, allocations: 130.4 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1879, allocations: 44.94 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.188, allocations: 3.984 kB / 0.7703 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.188, allocations: 38.5 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.188, allocations: 0 / 0.7703 GB, free: 4.219 MB / 0.5606 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.003978/0.192, allocations: 0.7818 MB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1921, allocations: 51.41 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.1921, allocations: 109.8 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1922, allocations: 29.7 kB / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.1922, allocations: 88.23 kB / 0.7713 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1923, allocations: 27.5 kB / 0.7714 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1923, allocations: 29.7 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1924, allocations: 318.8 kB / 0.7717 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1929, allocations: 95.89 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.1933, allocations: 99.91 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007957/0.1941, allocations: 196.6 kB / 0.7721 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1941, allocations: 0 / 0.7721 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009085/0.195, allocations: 245.3 kB / 0.7723 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1951, allocations: 12 kB / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1951, allocations: 0 / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1951, allocations: 0 / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1954, allocations: 52.69 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1954, allocations: 4 kB / 0.7724 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1956, allocations: 31.95 kB / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1957, allocations: 4 kB / 0.7724 GB, free: 2.008 MB / 0.5606 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 8.137e-05/0.1957, allocations: 118.4 kB / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1958, allocations: 11.84 kB / 0.7725 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.1958, allocations: 12.36 kB / 0.7725 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1958, allocations: 4 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1958, allocations: 4 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1958, allocations: 0 / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.1974, allocations: 0.5977 MB / 0.7731 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1975, allocations: 4 kB / 0.7731 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.1977, allocations: 52 kB / 0.7732 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1977, allocations: 7.938 kB / 0.7732 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1978, allocations: 0 / 0.7732 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1978, allocations: 4.391 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1978, allocations: 3.984 kB / 0.7732 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.1987, allocations: 344.9 kB / 0.7735 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1988, allocations: 85 kB / 0.7736 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1988, allocations: 4 kB / 0.7736 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1991, allocations: 39.95 kB / 0.7736 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1991, allocations: 15.86 kB / 0.7737 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1991, allocations: 4 kB / 0.7737 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.1992, allocations: 95.25 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1992, allocations: 0 / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002879/0.1995, allocations: 40 kB / 0.7738 GB, free: 476 kB / 0.5606 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.000201/0.1997, allocations: 131.2 kB / 0.7739 GB, free: 336 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009014/0.2006, allocations: 207.7 kB / 0.7741 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2006, allocations: 0 / 0.7741 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.2011, allocations: 108 kB / 0.7742 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2013, allocations: 15.94 kB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3161/0.5174, allocations: 399.4 kB / 0.7746 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.5176, allocations: 0.6867 MB / 0.7753 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.5177, allocations: 22.45 kB / 0.7753 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.5178, allocations: 20.45 kB / 0.7753 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5178, allocations: 0.8125 kB / 0.7753 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.004516/0.5223, allocations: 1.708 MB / 0.777 GB, free: 14.23 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)