Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001123/0.001124, allocations: 191 kB / 17.2 MB, free: 5.59 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 278.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8712/0.8712, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 98.52 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.98 MB / 0.6808 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001929/0.1651, allocations: 0.78 MB / 0.6816 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1667, allocations: 1.474 MB / 0.6831 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1668, allocations: 0 / 0.6831 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.1668, allocations: 3.938 kB / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.1669, allocations: 3.938 kB / 0.6831 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1673, allocations: 151.4 kB / 0.6832 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.1674, allocations: 47.91 kB / 0.6832 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1674, allocations: 7.984 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.141e-05/0.1675, allocations: 23.92 kB / 0.6833 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.1676, allocations: 27.91 kB / 0.6833 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1676, allocations: 4 kB / 0.6833 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.168, allocations: 323.3 kB / 0.6836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.168, allocations: 15.92 kB / 0.6836 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1681, allocations: 23.91 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1684, allocations: 219.8 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1684, allocations: 0 / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1684, allocations: 0 / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1684, allocations: 0 / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005148/0.1689, allocations: 395.4 kB / 0.6842 GB, free: 4.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1689, allocations: 12.02 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.1694, allocations: 68.77 kB / 0.6843 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.1695, allocations: 172.4 kB / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1695, allocations: 8.375 kB / 0.6845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1695, allocations: 8.375 kB / 0.6845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1698, allocations: 109.9 kB / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1699, allocations: 0 / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1699, allocations: 3.938 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1699, allocations: 4 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.1704, allocations: 103.8 kB / 0.6847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1709, allocations: 348.5 kB / 0.685 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.1715, allocations: 154.4 kB / 0.6852 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.1717, allocations: 56.81 kB / 0.6852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1717, allocations: 0 / 0.6852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1718, allocations: 30.56 kB / 0.6853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1718, allocations: 4 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB 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=11): time 0.01724/0.189, allocations: 2.838 MB / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1891, allocations: 67.2 kB / 0.6881 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.1892, allocations: 93.86 kB / 0.6882 GB, free: 336 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1892, allocations: 29.7 kB / 0.6882 GB, free: 300 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1893, allocations: 88.12 kB / 0.6883 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.1893, allocations: 39.47 kB / 0.6884 GB, free: 168 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1895, allocations: 65.58 kB / 0.6884 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2369/0.4264, allocations: 318.8 kB / 0.6887 GB, free: 18.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.4272, allocations: 191.1 kB / 0.6889 GB, free: 18.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.428, allocations: 189.3 kB / 0.6891 GB, free: 18.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.4294, allocations: 393.6 kB / 0.6895 GB, free: 18.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4294, allocations: 0 / 0.6895 GB, free: 18.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001598/0.431, allocations: 479.4 kB / 0.6899 GB, free: 18.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.431, allocations: 5.719 kB / 0.6899 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.431, allocations: 0.5625 kB / 0.6899 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4311, allocations: 0 / 0.6899 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.432, allocations: 106.8 kB / 0.69 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.432, allocations: 4.922 kB / 0.69 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.4327, allocations: 49.05 kB / 0.6901 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.4327, allocations: 24.53 kB / 0.6901 GB, free: 18.13 MB / 494.1 MB 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 (13): * Single equations (assignments): 13 * 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 0.0001393/0.4329, allocations: 122 kB / 0.6902 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.433, allocations: 5.375 kB / 0.6902 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.433, allocations: 11.67 kB / 0.6902 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4331, allocations: 5.75 kB / 0.6902 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4331, allocations: 0.6094 kB / 0.6902 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4331, allocations: 1.688 kB / 0.6902 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.4352, allocations: 1.051 MB / 0.6913 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4352, allocations: 3.938 kB / 0.6913 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.436, allocations: 108.6 kB / 0.6914 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.436, allocations: 0.8438 kB / 0.6914 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.4361, allocations: 27.23 kB / 0.6914 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4361, allocations: 2 kB / 0.6914 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4361, allocations: 1.062 kB / 0.6914 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.4385, allocations: 0.789 MB / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.4386, allocations: 121 kB / 0.6923 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.4387, allocations: 5.828 kB / 0.6923 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.4394, allocations: 46.45 kB / 0.6923 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4395, allocations: 26.23 kB / 0.6924 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.4395, allocations: 23.78 kB / 0.6924 GB, free: 17.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.4396, allocations: 87.95 kB / 0.6925 GB, free: 17.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4396, allocations: 0 / 0.6925 GB, free: 17.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.44, allocations: 54.75 kB / 0.6925 GB, free: 17.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002019/0.4402, allocations: 111.2 kB / 0.6926 GB, free: 16.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.4418, allocations: 429.6 kB / 0.693 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4418, allocations: 0.9688 kB / 0.693 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.4426, allocations: 221.8 kB / 0.6932 GB, free: 16.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4429, allocations: 15.61 kB / 0.6933 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.4472, allocations: 0.7878 MB / 0.694 GB, free: 16.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4474, allocations: 0.6895 MB / 0.6947 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.4478, allocations: 80.3 kB / 0.6948 GB, free: 15.84 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.4478, allocations: 0 / 0.6948 GB, free: 15.84 MB / 494.1 MB Notification: Performance of Templates: time 0.007151/0.4549, allocations: 3.79 MB / 0.6985 GB, free: 15.65 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)