Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001413, allocations: 193.4 kB / 16.14 MB, free: 6.715 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002484, allocations: 274.6 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002795, allocations: 103.4 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1775, allocations: 89.15 MB / 0.6928 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001807/0.1793, allocations: 0.6694 MB / 0.6935 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1813, allocations: 1.466 MB / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1813, allocations: 0 / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.1813, allocations: 3.938 kB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.1814, allocations: 8 kB / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1818, allocations: 107.7 kB / 0.695 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.1819, allocations: 27.98 kB / 0.695 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.1819, allocations: 4 kB / 0.695 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.182, allocations: 15.98 kB / 0.695 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.1821, allocations: 27.89 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1821, allocations: 4 kB / 0.6951 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1826, allocations: 319.3 kB / 0.6954 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1826, allocations: 3.984 kB / 0.6954 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1826, allocations: 19.91 kB / 0.6954 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1829, allocations: 183.7 kB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.183, allocations: 0 / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.183, allocations: 0 / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.183, allocations: 0 / 0.6956 GB, free: 1.941 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000583/0.1836, allocations: 371.7 kB / 0.6959 GB, free: 1.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1836, allocations: 12.03 kB / 0.6959 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.1841, allocations: 60.86 kB / 0.696 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1842, allocations: 168.4 kB / 0.6962 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1843, allocations: 8.312 kB / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1843, allocations: 384 / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1846, allocations: 77.95 kB / 0.6962 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1846, allocations: 0 / 0.6962 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1846, allocations: 4 kB / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1846, allocations: 0 / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1849, allocations: 63.92 kB / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.1852, allocations: 169.7 kB / 0.6965 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1858, allocations: 118.5 kB / 0.6966 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.186, allocations: 48.88 kB / 0.6966 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/0.1865, allocations: 153 kB / 0.6968 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1865, allocations: 38.5 kB / 0.6968 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1866, allocations: 0 / 0.6968 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001208/0.1878, allocations: 406.2 kB / 0.6972 GB, free: 48 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1878, allocations: 55.39 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.1879, allocations: 97.86 kB / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1879, allocations: 25.7 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.188, allocations: 80.14 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.188, allocations: 23.69 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.1881, allocations: 21.7 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1882, allocations: 315 kB / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1884, allocations: 35.97 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1886, allocations: 39.95 kB / 0.6979 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1889, allocations: 76.73 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1889, allocations: 4 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003696/0.1893, allocations: 113.5 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1893, allocations: 4 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1893, allocations: 4.25 kB / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1893, allocations: 0 / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1895, allocations: 27.97 kB / 0.6981 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1895, allocations: 4 kB / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.1896, allocations: 11.92 kB / 0.6981 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1896, allocations: 4 kB / 0.6981 GB, free: 15.07 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.377e-05/0.1897, allocations: 117.8 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.1898, allocations: 12.25 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.1902, allocations: 125.2 kB / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1903, allocations: 0 / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1903, allocations: 7.984 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1903, allocations: 3.984 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1905, allocations: 165.7 kB / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1905, allocations: 0 / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1906, allocations: 27.91 kB / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1906, allocations: 0 / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1907, allocations: 4 kB / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1907, allocations: 0 / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1907, allocations: 3.938 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.1913, allocations: 193 kB / 0.6987 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1913, allocations: 85.03 kB / 0.6988 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1914, allocations: 0 / 0.6988 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1915, allocations: 11.98 kB / 0.6988 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1915, allocations: 8.062 kB / 0.6988 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1915, allocations: 11.98 kB / 0.6988 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.1916, allocations: 75.28 kB / 0.6989 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1916, allocations: 3.938 kB / 0.6989 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002356/0.1918, allocations: 28 kB / 0.699 GB, free: 14.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002083/0.1921, allocations: 131.2 kB / 0.6991 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.1924, allocations: 83.95 kB / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1924, allocations: 4 kB / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.1926, allocations: 44.2 kB / 0.6992 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1928, allocations: 12.69 kB / 0.6992 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.1934, allocations: 183.6 kB / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1937, allocations: 0.6834 MB / 0.7001 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.1939, allocations: 23.92 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.1939, allocations: 11.44 kB / 0.7001 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1939, allocations: 4 kB / 0.7001 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.003826/0.1977, allocations: 1.122 MB / 0.7012 GB, free: 11.75 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)